Extend features to monitor ups.
This commit is contained in:
@@ -13,6 +13,8 @@ volumes:
|
||||
name: netdatalib
|
||||
netdatacache:
|
||||
name: netdatacache
|
||||
apc:
|
||||
name: apc
|
||||
|
||||
services:
|
||||
netdata:
|
||||
@@ -47,4 +49,23 @@ services:
|
||||
- "traefik.http.routers.netdata.service=netdata"
|
||||
- "traefik.http.services.netdata.loadbalancer.server.port=19999"
|
||||
|
||||
apc:
|
||||
build: .
|
||||
container_name: apc
|
||||
hostname: apc.lan
|
||||
tty: true
|
||||
devices:
|
||||
- /dev/usb/hiddev0
|
||||
volumes:
|
||||
- apc:/etc/apcupsd
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.apc.rule=Host(`apc.lan`)"
|
||||
- "traefik.http.routers.apc.entrypoints=web"
|
||||
- "traefik.http.routers.apc.service=apc"
|
||||
- "traefik.http.services.apc.loadbalancer.server.port=80"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user