removed deprecated container_name from compose file
This commit is contained in:
parent
f5d6df9d1d
commit
0dd341b1cf
@ -11,7 +11,6 @@ networks:
|
|||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus
|
image: prom/prometheus
|
||||||
container_name: prometheus
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./prometheus/:/etc/prometheus/
|
- ./prometheus/:/etc/prometheus/
|
||||||
- prometheus_data:/prometheus
|
- prometheus_data:/prometheus
|
||||||
@ -38,7 +37,6 @@ services:
|
|||||||
constraints:
|
constraints:
|
||||||
- node.hostname == <hostname where the prometheus config file in>
|
- node.hostname == <hostname where the prometheus config file in>
|
||||||
node-exporter:
|
node-exporter:
|
||||||
container_name: node-exporter
|
|
||||||
image: prom/node-exporter
|
image: prom/node-exporter
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/host/proc:ro
|
- /proc:/host/proc:ro
|
||||||
|
Loading…
Reference in New Issue
Block a user