From 9b484d587217153973e1608d4af6ac0e5df9b572 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 28 Feb 2022 18:35:10 -0700 Subject: [PATCH] and netdata is back out --- homelab/docker-compose.yaml | 39 ++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/homelab/docker-compose.yaml b/homelab/docker-compose.yaml index ed9ab24..fb82f78 100644 --- a/homelab/docker-compose.yaml +++ b/homelab/docker-compose.yaml @@ -137,24 +137,27 @@ services: networks: - hostnet -# 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 - configs: - - source: netdata.conf - target: /etc/netdata/netdata.conf - deploy: - labels: - traefik.http.routers.netdata.rule: "PathPrefix(`/netdata`)" - traefik.http.middlewares.netdata-striparoo.stripprefix.prefixes: "/netdata" - traefik.http.routers.netdata.middlewares: netdata-striparoo - traefik.http.services.netdata.loadbalancer.server.port: "19999" +## Drop this in to get a netdata container. +## It uses a lot of RAM and causes my machine to swap. +## Granted, it's a lot more lightweight than nextcloud. +## But I can live without netdata. +# netdata: +# image: netdata/netdata +# hostname: $HOSTNAME +# volumes: +# - type: bind +# source: / +# target: /host +# read_only: true +# configs: +# - source: netdata.conf +# target: /etc/netdata/netdata.conf +# deploy: +# labels: +# traefik.http.routers.netdata.rule: "PathPrefix(`/netdata`)" +# traefik.http.middlewares.netdata-striparoo.stripprefix.prefixes: "/netdata" +# traefik.http.routers.netdata.middlewares: netdata-striparoo +# traefik.http.services.netdata.loadbalancer.server.port: "19999" samba: image: dperson/samba