Add webnut compose stack, reading credentials from .env

Web UI for the NUT UPS daemon.

UPS credentials come from .env alongside the compose file, which Compose
loads automatically; see .env.example. Required values use ${VAR:?} so a
missing .env fails loudly rather than starting the container with a blank
password.

Drop the obsolete top-level version key.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
ergosteur
2026-08-06 15:45:12 +00:00
co-authored by Claude Opus 5
parent d44e4582d3
commit 7c13144c5b
2 changed files with 27 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# Copy to .env next to docker-compose.yml; Compose loads it automatically.
# cp .env.example .env && chmod 0600 .env
UPS_HOST=10.20.28.200
UPS_PORT=3493
UPS_USER=adminuser
UPS_PASSWORD=changeme