mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 08:54:24 +02:00
disable glances and add docker proxy for netdata
This commit is contained in:
parent
569c95a17a
commit
3a0ff2f39b
@ -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…
x
Reference in New Issue
Block a user