add more complete options
Signed-off-by: Andrew Maguire <andrewm4894@gmail.com>
This commit is contained in:
parent
26ab4b3925
commit
0e28f3af45
@ -15,15 +15,18 @@ services:
|
|||||||
netdata:
|
netdata:
|
||||||
image: netdata/netdata
|
image: netdata/netdata
|
||||||
container_name: netdata
|
container_name: netdata
|
||||||
|
pid: host
|
||||||
hostname: example.com # set to fqdn of host
|
hostname: example.com # set to fqdn of host
|
||||||
ports:
|
ports:
|
||||||
- 19999:19999
|
- 19999:19999
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
|
- SYS_ADMIN
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
volumes:
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- netdataconfig:/etc/netdata
|
- netdataconfig:/etc/netdata
|
||||||
- netdatalib:/var/lib/netdata
|
- netdatalib:/var/lib/netdata
|
||||||
- netdatacache:/var/cache/netdata
|
- netdatacache:/var/cache/netdata
|
||||||
|
@ -3,15 +3,18 @@ services:
|
|||||||
netdata:
|
netdata:
|
||||||
image: netdata/netdata
|
image: netdata/netdata
|
||||||
container_name: netdata
|
container_name: netdata
|
||||||
|
pid: host
|
||||||
hostname: example.com # set to fqdn of host
|
hostname: example.com # set to fqdn of host
|
||||||
ports:
|
ports:
|
||||||
- 19999:19999
|
- 19999:19999
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
|
- SYS_ADMIN
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
volumes:
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- netdataconfig:/etc/netdata
|
- netdataconfig:/etc/netdata
|
||||||
- netdatalib:/var/lib/netdata
|
- netdatalib:/var/lib/netdata
|
||||||
- netdatacache:/var/cache/netdata
|
- netdatacache:/var/cache/netdata
|
||||||
|
Loading…
Reference in New Issue
Block a user