Skip to content

Instantly share code, notes, and snippets.

@DennisLoska
Created November 10, 2020 21:38
Show Gist options
  • Save DennisLoska/f085383933928fab10ec0e7face174cf to your computer and use it in GitHub Desktop.
Save DennisLoska/f085383933928fab10ec0e7face174cf to your computer and use it in GitHub Desktop.
netdata
version: '3'
services:
netdata:
image: netdata/netdata
container_name: netdata
hostname: example.com # set to fqdn of host
ports:
- 91:19999
restart: unless-stopped
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
volumes:
- netdataconfig:/etc/netdata
- 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
- /etc/os-release:/host/etc/os-release:ro
volumes:
netdataconfig:
netdatalib:
netdatacache:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment