Skip to content

edgd1er/docker-webnut

 
 

Repository files navigation

Docker Image CI

Difference from teknologist's version:

  • switch to python3-alpine3.20 as base image to reduce image size (900Mb -> 80Mb)
  • added actions to build image and publish to docker hub.
  • add healtch check
  • add volume /config to persist config.

docker-webNUT

webNUT (UPS network monitoring web ui) dockerized.

More infos on webNUT: https://github.com/rshipp/webNUT

Set the following environment variables:

UPS_HOST with NUT server host IP (default: 127.0.0.1)

UPS_PORT with NUT server port (default: 3493)

UPS_USER with NUT server username (default: monuser)

UPS_PASSWORD with NUT server password (default: secret)

Run with:

docker run -e UPS_HOST="10.11.12.13" -e UPS_PORT="3493" -e UPS_USER="monuser" -e UPS_PASSWORD="secret" -p 6543:6543 --mount source=config,target=/config edgd1er/webnut:latest

Docker-compose

services:
  webnut:
    image: edgd1er/webnut:latest
    restart: always
    environment:
      UPS_HOST: "10.11.12.13"
      UPS_PORT: "3493"
      UPS_USER: "monuser"
      UPS_PASSWORD: "secret"
    ports:
     - "6543:6543"
    volumes:
      - config:/config
volumes:
  config:

About

A Docker image to run webnut

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 37.6%
  • Dockerfile 32.7%
  • Shell 29.7%