how to netdata

This commit is contained in:
Neale Pickett 2022-01-11 21:33:56 -07:00
parent aac29c822e
commit 7b94b33d7c
1 changed files with 16 additions and 0 deletions

16
homelab/netdata.yaml Normal file
View File

@ -0,0 +1,16 @@
# Drop this in to get a netdata container.
# It was using about 10% on my rPi and I don't really need it, so I took it out
netdata:
image: netdata/netdata
volumes:
- type: bind
source: /
target: /host
read_only: true
deploy:
labels:
traefik.enable: "true"
traefik.http.routers.netdata.rule: "PathPrefix(`/netdata`)"
traefik.http.middlewares.striparoo.stripprefix.prefixes: "/netdata"
traefik.http.routers.netdata.middlewares: striparoo
traefik.http.services.netdata.loadbalancer.server.port: "19999"