Convert netdata into its own role

This commit is contained in:
Jake Howard
2020-04-23 21:32:18 +01:00
parent 975ba9a2ed
commit b11ca7fe21
4 changed files with 2 additions and 4 deletions

View File

@ -0,0 +1,18 @@
version: "2.3"
services:
netdata:
image: netdata/netdata:latest
container_name: netdata
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
volumes:
- /etc/passwd:/host/etc/passwd:ro
- /etc/group:/host/etc/group:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
restart: unless-stopped
ports:
- 19999:19999