From 7b94b33d7c79c31344be691a4bdb52397b6e7d7d Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 11 Jan 2022 21:33:56 -0700 Subject: [PATCH] how to netdata --- homelab/netdata.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 homelab/netdata.yaml diff --git a/homelab/netdata.yaml b/homelab/netdata.yaml new file mode 100644 index 0000000..3c0cbb9 --- /dev/null +++ b/homelab/netdata.yaml @@ -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"