Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
docker
Docker Compose Prometheus and Grafana
Commits
e671bfd8
Commit
e671bfd8
authored
Sep 16, 2020
by
Jay Ta'ala
Browse files
All ports bound on localhost interface only.
parent
9aceb69e
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
e671bfd8
...
@@ -4,7 +4,7 @@ services:
...
@@ -4,7 +4,7 @@ services:
image
:
prom/prometheus
image
:
prom/prometheus
restart
:
always
restart
:
always
ports
:
ports
:
-
9089:9090
-
127.0.0.1:
9089:9090
environment
:
environment
:
-
config.file=/etc/prometheus/prometheus.yml
-
config.file=/etc/prometheus/prometheus.yml
-
storage.tsdb.path=/prometheus
-
storage.tsdb.path=/prometheus
...
@@ -33,7 +33,7 @@ services:
...
@@ -33,7 +33,7 @@ services:
image
:
grafana/grafana
image
:
grafana/grafana
restart
:
always
restart
:
always
ports
:
ports
:
-
3000:3000
-
127.0.0.1:
3000:3000
volumes
:
volumes
:
-
./grafana.ini:/etc/grafana/grafana.ini
-
./grafana.ini:/etc/grafana/grafana.ini
-
graf-data:/var/lib/grafana
-
graf-data:/var/lib/grafana
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment