Updated netdata config

This commit is contained in:
Ash Leece 2020-05-12 22:48:22 +00:00
parent 193dd7bab1
commit 58ac32f726
1 changed files with 13 additions and 3 deletions

View File

@ -1,15 +1,25 @@
version: '3'
version: '3'
services:
netdata:
image: netdata/netdata
#hostname: monitor.leece.im
container_name: netdata
hostname: <set> # set to fqdn of host
ports:
- 19999:19999
restart: unless-stopped
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
volumes:
- netdatalib:/var/lib/netdata
- netdatacache:/var/cache/netdata
- /etc/passwd:/host/etc/passwd:ro
- /etc/group:/host/etc/group:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/os-release:/host/etc/os-release:ro
volumes:
netdatalib:
netdatacache: