Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```