netdata: deployed netdata

This commit is contained in:
2025-10-19 18:10:32 +02:00
parent b86b524475
commit 2fdebabb25
3 changed files with 64 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ updates:
- "/docker/production/vhaudiquetfr"
- "/docker/tools/excalidraw"
- "/docker/tools/manyfold"
- "/docker/tools/netdata"
- "/docker/tools/notesnook"
- "/docker/tools/stirling-pdf"
- package-ecosystem: "helm"

View File

@@ -170,6 +170,11 @@ manyfold:
sops_files:
- docker/tools/manyfold/.env
netdata:
repo: homeprod
branch: main
compose_file: docker/tools/netdata/docker-compose.yml
notesnook:
repo: homeprod
branch: main

View File

@@ -0,0 +1,58 @@
services:
netdata:
image: netdata/netdata
container_name: netdata
restart: unless-stopped
cap_add:
- SYS_PTRACE
- SYS_ADMIN
ports:
- "19999"
networks:
- default
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.netdata.rule=Host(`netdata.lan`)"
- "traefik.http.services.netdata.loadbalancer.server.port=19999"
security_opt:
- apparmor:unconfined
volumes:
- config:/etc/netdata
- lib:/var/lib/netdata
- cache:/var/cache/netdata
- /:/host/root:ro,rslave
- /etc/passwd:/host/etc/passwd:ro
- /etc/group:/host/etc/group:ro
- /etc/localtime:/etc/localtime:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /etc/os-release:/host/etc/os-release:ro
- /var/log:/host/var/log:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /run/dbus:/run/dbus:ro
volumes:
config:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/netdata/config'
lib:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/netdata/lib'
cache:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/netdata/cache'
networks:
proxy:
external: true
name: proxy