Add Netdata and update docs

This commit is contained in:
mr-vercetti
2023-11-26 21:49:36 +01:00
parent f241a9810f
commit 3f4610cf3e
4 changed files with 33 additions and 0 deletions

View File

@ -40,6 +40,7 @@ BACKUP_DIR=
# netdata
HOSTNAME=
NETDATA_PGID=
# gitea
# you need to create "git" user and group

View File

@ -0,0 +1,29 @@
services:
netdata:
image: netdata/netdata
container_name: netdata
hostname: ${HOSTNAME}
networks:
- netdata
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
environment:
- PGID=${NETDATA_PGID}
- TZ=${TIMEZONE}
- DISABLE_TELEMETRY=1
volumes:
- /etc/passwd:/host/etc/passwd:ro
- /etc/group:/host/etc/group:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /etc/os-release:/host/etc/os-release:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 19999:19999
restart: unless-stopped
networks:
netdata:
name: netdata