2020-03-25 21:27:15 +00:00
|
|
|
version: "2.3"
|
2020-03-08 18:12:12 +00:00
|
|
|
|
2020-01-28 21:50:29 +00:00
|
|
|
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
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.netdata.rule=Host(`netdata.jakehoward.tech`)"
|
|
|
|
- "traefik.http.routers.netdata.tls=true"
|
|
|
|
- "traefik.http.routers.netdata.tls.certresolver=le"
|
|
|
|
- "traefik.http.routers.netdata.middlewares=internal-only@file"
|