mirror of
https://github.com/ergosteur/ergo-proxmox-scripts.git
synced 2026-10-28 13:00:37 -04:00
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>
21 lines
544 B
YAML
21 lines
544 B
YAML
services:
|
|
webnut:
|
|
image: teknologist/webnut
|
|
container_name: webnut
|
|
# Values come from .env alongside this file (see .env.example).
|
|
environment:
|
|
- UPS_HOST=${UPS_HOST:?set UPS_HOST in .env}
|
|
- UPS_PORT=${UPS_PORT:-3493}
|
|
- UPS_USER=${UPS_USER:?set UPS_USER in .env}
|
|
- UPS_PASSWORD=${UPS_PASSWORD:?set UPS_PASSWORD in .env}
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
networks:
|
|
- webnut-net
|
|
ports:
|
|
- 6543:6543
|
|
networks:
|
|
webnut-net:
|
|
external: true
|