Influxdb over Proxy. Split telegraf in host and net
This commit is contained in:
parent
f0802c2242
commit
c770df59f7
4 changed files with 304 additions and 186 deletions
|
@ -24,6 +24,20 @@ services:
|
|||
- host.docker.internal:172.17.0.1
|
||||
|
||||
|
||||
docker-socket-proxy:
|
||||
image: tecnativa/docker-socket-proxy
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
environment:
|
||||
# grant privileges as environment variables: https://github.com/Tecnativa/docker-socket-proxy#grant-or-revoke-access-to-certain-api-sections
|
||||
- CONTAINERS=1
|
||||
- INFO=1
|
||||
networks:
|
||||
- dockersocket
|
||||
privileged: true
|
||||
|
||||
|
||||
whoami:
|
||||
image: containous/whoami
|
||||
networks:
|
||||
|
@ -40,4 +54,6 @@ services:
|
|||
networks:
|
||||
web:
|
||||
external: true
|
||||
dockersocket:
|
||||
external: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue