and netdata is back out
This commit is contained in:
parent
2bf259f020
commit
9b484d5872
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue