Oh my god it was a switch nsp manager.
Replace the "NUT" nsp manager with a real networkupstools docker server
This commit is contained in:
parent
da5c980c47
commit
aa8692deee
@ -1 +0,0 @@
|
||||
DOCKER_DATA=/home/admin/data/networkupstools
|
@ -1,24 +1,12 @@
|
||||
version: "3"
|
||||
services:
|
||||
nut:
|
||||
image: shawly/nut
|
||||
image: upshift/nut-upsd
|
||||
container_name: networkupstools_nut
|
||||
env_file:
|
||||
- path: ./nut.env
|
||||
required: true
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
- "$DOCKER_DATA/titles:/nut/titles:rw"
|
||||
- "$DOCKER_DATA/conf:/nut/conf:rw"
|
||||
- "$DOCKER_DATA/_NSPOUT:/nut/_NSPOUT:rw"
|
||||
- "$DOCKER_DATA/titledb:/nut/titledb:rw"
|
||||
labels:
|
||||
- traefik.http.routers.nut.rule=Host(`nut.jafner.net`)
|
||||
- traefik.http.routers.nut.tls.certresolver=lets-encrypt
|
||||
- traefik.http.routers.nut.middlewares=lan-only@file
|
||||
- traefik.http.services.nut.loadbalancer.server.port=9000
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
ports:
|
||||
- 3493:3493
|
||||
devices:
|
||||
- "/dev/bus/usb/001/005"
|
@ -1,6 +1,7 @@
|
||||
TZ=America/Los_Angeles
|
||||
USER_ID=1001
|
||||
GROUP_ID=1001
|
||||
TITLEDB_REGION=US
|
||||
TITLEDB_LANGUAGE=en
|
||||
#NUT_API_SCHEDULES='"[{"scan":"0/30 * * * *}]"'
|
||||
#SHUTDOWN_CMD=echo 'System shutdown not configured!'
|
||||
UPS_NAME=EATON5PX1500RT
|
||||
UPS_DESC=Eaton 5PX1500RT
|
||||
UPS_DRIVER=snmp-ups
|
||||
UPS_PORT=auto
|
||||
#API_USER=
|
||||
#API_PASSWORD=
|
Loading…
Reference in New Issue
Block a user