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