Sign inSign up

kronos443/ups.tream

By kronos443

•Updated over 4 years ago

Display UPS information on a web page

Image
0

459

kronos443/ups.tream repository overview

⁠UPS.tream - Display UPS information in real time

A container that connects to a NUT server port and displays basic information about the state of the UPS.

⁠Supported Architectures

Currently only supported for Linux/AMD64 as it was containerised for docker on windows and the Synology DS918+ NAS

ArchitectureTag
x86-64latest

⁠History

See the app readme.md information at GitHub⁠
DateVersionNotes
2/6/20220.0.0.1
  1. First pre-alpha cut
  2. Note, This is a first cut to see if there is interest in the concept.

⁠Usage

Create you container locally by either:

⁠Docker CLI
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
⁠Docker Compose
---
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

⁠Parameters

The parameters are described below.

ParameterFunction
-v /path/to/config:/configThe 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 xx
TZ=Europe/LondonTime 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.⁠ :)

Please consider donating ⁠

Tag summary

Content type

Image

Digest

Size

404.3 MB

Last updated

over 4 years ago

docker pull kronos443/ups.tream