Re-enable netdata for now
This commit is contained in:
parent
07c2ce3e20
commit
2bf259f020
|
@ -137,6 +137,25 @@ 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"
|
||||
|
||||
samba:
|
||||
image: dperson/samba
|
||||
volumes:
|
||||
|
@ -165,6 +184,10 @@ services:
|
|||
target: 445
|
||||
|
||||
|
||||
configs:
|
||||
netdata.conf:
|
||||
file: netdata.conf
|
||||
name: netdata.conf-v4
|
||||
|
||||
secrets:
|
||||
password:
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[global]
|
||||
update every = 10
|
||||
|
||||
[plugin:proc:/proc/net/dev]
|
||||
disable by default interfaces matching = lo veth* docker*
|
|
@ -1,16 +0,0 @@
|
|||
# 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"
|
Loading…
Reference in New Issue