Remove docker.sock from telegraf
This commit is contained in:
parent
11a4e38037
commit
697bbc75af
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue