disable glances and add docker proxy for netdata
This commit is contained in:
parent
569c95a17a
commit
3a0ff2f39b
2 changed files with 11 additions and 0 deletions
|
@ -11,6 +11,8 @@ services:
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
|
environment:
|
||||||
|
- DOCKER_HOST=proxy:2375
|
||||||
volumes:
|
volumes:
|
||||||
- netdataconfig:/etc/netdata
|
- netdataconfig:/etc/netdata
|
||||||
- netdatalib:/var/lib/netdata
|
- netdatalib:/var/lib/netdata
|
||||||
|
@ -28,6 +30,15 @@ services:
|
||||||
- traefik.http.routers.netdata.entrypoints=websecure
|
- traefik.http.routers.netdata.entrypoints=websecure
|
||||||
- traefik.http.routers.netdata.tls=true
|
- traefik.http.routers.netdata.tls=true
|
||||||
- traefik.http.services.netdata.loadbalancer.server.port=19999
|
- traefik.http.services.netdata.loadbalancer.server.port=19999
|
||||||
|
docker-proxy:
|
||||||
|
image: tecnativa/docker-socket-proxy
|
||||||
|
container_name: docker-proxy
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
- CONTAINERS=1
|
||||||
|
networks:
|
||||||
|
- srv
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
netdataconfig:
|
netdataconfig:
|
||||||
|
|
Loading…
Add table
Reference in a new issue