and netdata is back out

This commit is contained in:
Neale Pickett 2022-02-28 18:35:10 -07:00
parent 2bf259f020
commit 9b484d5872
1 changed files with 21 additions and 18 deletions

View File

@ -137,24 +137,27 @@ services:
networks: networks:
- hostnet - hostnet
# Drop this in to get a netdata container. ## 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 ## It uses a lot of RAM and causes my machine to swap.
netdata: ## Granted, it's a lot more lightweight than nextcloud.
image: netdata/netdata ## But I can live without netdata.
volumes: # netdata:
- type: bind # image: netdata/netdata
source: / # hostname: $HOSTNAME
target: /host # volumes:
read_only: true # - type: bind
configs: # source: /
- source: netdata.conf # target: /host
target: /etc/netdata/netdata.conf # read_only: true
deploy: # configs:
labels: # - source: netdata.conf
traefik.http.routers.netdata.rule: "PathPrefix(`/netdata`)" # target: /etc/netdata/netdata.conf
traefik.http.middlewares.netdata-striparoo.stripprefix.prefixes: "/netdata" # deploy:
traefik.http.routers.netdata.middlewares: netdata-striparoo # labels:
traefik.http.services.netdata.loadbalancer.server.port: "19999" # 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: samba:
image: dperson/samba image: dperson/samba