mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-07-01 17:45:32 +02:00
Add Netdata and update docs
This commit is contained in:
@ -40,6 +40,7 @@ BACKUP_DIR=
|
||||
|
||||
# netdata
|
||||
HOSTNAME=
|
||||
NETDATA_PGID=
|
||||
|
||||
# gitea
|
||||
# you need to create "git" user and group
|
||||
|
29
docker/stacks/netdata/netdata.yml
Normal file
29
docker/stacks/netdata/netdata.yml
Normal 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
|
Reference in New Issue
Block a user