mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-19 00:35:33 +01:00
30 lines
715 B
YAML
30 lines
715 B
YAML
|
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
|