Display UPS information on a web page
459
A container that connects to a NUT server port and displays basic information about the state of the UPS.
Currently only supported for Linux/AMD64 as it was containerised for docker on windows and the Synology DS918+ NAS
| Architecture | Tag |
|---|---|
| x86-64 | latest |
| Date | Version | Notes |
|---|---|---|
| 2/6/2022 | 0.0.0.1 |
|
Create you container locally by either:
docker run -d \
--name ups.tream \
-e TZ=Europe/London \
-e NUT_SERVER_IP=X.X.X.X \
-e USER_NAME=monuser \
-e PASSWORD=secret \
-e SERVER_POLL_RATE=30 \
-e NUT_SERVER_PORT=3493 \
-p 8080:80 \
-v path_to_config:/config \
ups.tream
---
version: "3.1"
services:
ups.tream:
image: kronos443/ups.tream
container_name: UPS.tream
environment:
- TZ=Europe/London
- LANG=en_GB.UTF-8
- NUT_SERVER_IP=X.X.X.X
- USER_NAME=monuser # Default is monuser
- PASSWORD=secret # Default is secret
- SERVER_POLL_RATE=30
- NUT_SERVER_PORT=3493
volumes:
- /path_to/config:/config
ports:
- "8080:80"
restart: unless-stopped
The parameters are described below.
| Parameter | Function |
|---|---|
| -v /path/to/config:/config | The directory on your host that is shared with the container. Place your AWS_Route53_DDNS.ini file here. Log files will also be written here. |
| -e x | x |
| TZ=Europe/London | Time zone, e.g. Europe/London optional but means the log times will be in the local timezone rather than UT |
If you find this container useful then please consider buying me a coffee by following this link or scanning the QR below. :)
Content type
Image
Digest
Size
404.3 MB
Last updated
over 4 years ago
docker pull kronos443/ups.tream