Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vdovhanych/nut-docker
Network UPS Utility in Docker
https://github.com/vdovhanych/nut-docker
Last synced: about 1 month ago
JSON representation
Network UPS Utility in Docker
- Host: GitHub
- URL: https://github.com/vdovhanych/nut-docker
- Owner: vdovhanych
- Created: 2023-08-09T14:49:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-12T09:24:43.000Z (10 months ago)
- Last Synced: 2024-10-31T17:24:00.199Z (3 months ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NUT (Network UPS Tools) but in docker
Based on [Network UPS Tools](https://networkupstools.org/) and [instantlinux/nut-upsd](https://github.com/instantlinux/docker-tools/tree/main/images/nut-upsd)
This docker image also includes webNUT ui for monitoring your UPS
## Usage (docker-compose)
```yaml
version: "3.8"
services:
nut_server:
image: ghcr.io/vdovhanych/nut-docker:latest
restart: unless-stopped
network_mode: bridge
ports:
- 3493:3493
- 6543:6543
devices:
- /dev/bus/usb/001/:/dev/bus/usb/001/ # change to your usb device
environment:
- NAME=ups
- API_USER=upsmon
- API_PASSWORD=secret
- DRIVER=usbhid-ups
- PORT=auto
- DESCRIPTION=UPS
- SERVER=master
- POLLINTERVAL=1
- MAXRETRY=3
- GROUP=nut
- USER=nut
container_name: nut-server
hostname: nut-server
```