Update docker-compose.yml

Updated the docker-compose file container variables.  It appears the docker-compose configuration option container_name changed to name in the latest version of docker-compose.
This commit is contained in:
Brian Christner 2015-11-17 16:24:31 +01:00
parent a005a0c359
commit f7cc744eb2
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ prometheus:
build: "prom/" build: "prom/"
ports: ports:
- "9090:9090" - "9090:9090"
container_name: prometheus name: prometheus
links: links:
- "exporter:export" - "exporter:export"
- "cadvisor:cad" - "cadvisor:cad"
@ -16,7 +16,7 @@ exporter:
- "9104:9104" - "9104:9104"
expose: expose:
- "9104" - "9104"
container_name: exporter name: exporter
sqlite3: sqlite3:
image: "prom/promdash" image: "prom/promdash"
@ -37,7 +37,7 @@ promdash:
- /tmp/prom:/tmp/prom - /tmp/prom:/tmp/prom
environment: environment:
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3" - "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
container_name: promdash name: promdash
cadvisor: cadvisor:
image: "google/cadvisor" image: "google/cadvisor"
@ -50,4 +50,4 @@ cadvisor:
- "8080:8080" - "8080:8080"
expose: expose:
- "8080" - "8080"
container_name: cadvisor name: cadvisor