17 lines
590 B
YAML
17 lines
590 B
YAML
|
# 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"
|