Oh my god it was a switch nsp manager.
All checks were successful
Deploy to Fighter / Deploy (push) Successful in 34s
Deploy to Fighter / Notify (push) Successful in 2s

Replace the "NUT" nsp manager with a real networkupstools docker server
This commit is contained in:
Joey Hafner 2024-02-28 01:20:27 -08:00
parent da5c980c47
commit aa8692deee
3 changed files with 12 additions and 24 deletions

View File

@ -1 +0,0 @@
DOCKER_DATA=/home/admin/data/networkupstools

View File

@ -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"

View File

@ -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=