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:
parent
a005a0c359
commit
f7cc744eb2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user