1
0
Fork 0
This commit is contained in:
Eros Nardi 2021-01-02 16:57:25 +01:00
parent ca8f7a7acd
commit 2d4332e837
1 changed files with 25 additions and 2 deletions

View File

@ -1,5 +1,28 @@
# nut-docker
This Dockerfiles is tested to run on Raspberry Pi 4
**NUT-SERVER**
Expects a UPS usb device passed to it with --device, find it with lsusb ex./dev/bus/usb/001/005
This is a simple debian image with the nut-server package installed.
**USAGE**
Just run the image publishing the port and pointing to the ups device path. Use lsusb to find the current Bus and Device
docker run -d -p 3493:3493 --name=Nut --restart unless-stopped --device=/dev/bus/usb/001/005 nardo86/nut-server
**EXTRA OPTIONS**
Environment variable used for the configuration
**NAME** a simple name for your ups (default: myups)
**DRIVER** the driver to use* (default: usbhid-ups)
**PORT** device port (default: auto)
**POLLFREQ** polling Interval (default: 5)
**DESC** full description for your ups (default: UPS)
*see https://networkupstools.org/stable-hcl.html for compatibility list