31 lines
933 B
YAML
31 lines
933 B
YAML
version: '3'
|
|
services:
|
|
netdata:
|
|
image: netdata/netdata
|
|
container_name: netdata
|
|
#hostname: example.com # set to fqdn of host
|
|
ports:
|
|
- 19999: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
|
|
environment:
|
|
- NETDATA_CLAIM_TOKEN=K-OHcXSEKCP8SYcESshe23B-U_bAJ8zUObJ7NMS3t89VBIzaMDVNRBoP53iraLGTJ82cvXOBecSCPLSJEON-H2eTmDQjr1LaS-GHXCPbcaC37wCmjf3gmGrbWSqKeTvdNNtn8CE
|
|
- NETDATA_CLAIM_URL=https://app.netdata.cloud
|
|
- NETDATA_CLAIM_ROOMS=cdfc5ee4-6b0d-4c9d-bc10-72715d3253a3
|
|
|
|
volumes:
|
|
netdataconfig:
|
|
netdatalib:
|
|
netdatacache: |