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
f9805bca
Commit
f9805bca
authored
Jun 22, 2020
by
Jay Ta'ala
Browse files
Removed container names to let docker-compose name as it will.
parent
cd7f96ba
Changes
1
Show whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
f9805bca
...
@@ -2,7 +2,6 @@ version: '3'
...
@@ -2,7 +2,6 @@ version: '3'
services
:
services
:
prom
:
prom
:
image
:
prom/prometheus
image
:
prom/prometheus
container_name
:
prom
restart
:
always
restart
:
always
ports
:
ports
:
-
10090:9090
-
10090:9090
...
@@ -17,7 +16,6 @@ services:
...
@@ -17,7 +16,6 @@ services:
bbexp
:
bbexp
:
image
:
prom/blackbox-exporter
image
:
prom/blackbox-exporter
container_name
:
bbexp
restart
:
always
restart
:
always
environment
:
environment
:
-
config.file="/config.yml"
-
config.file="/config.yml"
...
@@ -26,7 +24,6 @@ services:
...
@@ -26,7 +24,6 @@ services:
graf
:
graf
:
image
:
grafana/grafana
image
:
grafana/grafana
container_name
:
graf
restart
:
always
restart
:
always
ports
:
ports
:
-
4000:3000
-
4000:3000
...
...
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