Remove docker.sock from telegraf

This commit is contained in:
Florian Zirker 2022-03-06 17:32:40 +01:00
parent 11a4e38037
commit 697bbc75af

View file

@ -91,7 +91,6 @@ services:
- ./.env # set environments into container
volumes:
- ./telegraf_host.conf:/etc/telegraf/telegraf.conf:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /var/run/utmp:/var/run/utmp:ro
- /:/hostfs:ro
network_mode: "host"
@ -107,7 +106,6 @@ services:
- ./.env # set environments into container
volumes:
- ./telegraf_net.conf:/etc/telegraf/telegraf.conf:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- monitoring
- dockersocket