Refactor Proxmox settings validation and enhance dotenv loading logic; update README for clarity on configuration requirements

This commit is contained in:
Philip Henning 2026-03-08 19:25:45 +01:00
parent 9a7bd81d17
commit 376e6f5631
10 changed files with 135 additions and 25 deletions

View file

@ -2,16 +2,19 @@
# Required for live API access.
PROXMOX_URL=https://proxmox.example.invalid:8006
# Login realm used for authentication.
# Required for live API access.
# Default login realm used for authentication.
# Optional for the interactive app, because realms can be loaded and selected manually.
# Still required for non-interactive doctor login checks.
PROXMOX_REALM=pam
# Proxmox username. If it does not already include @realm, the app appends PROXMOX_REALM.
# Required for live API access.
# Default Proxmox username. If it does not already include @realm, the app appends PROXMOX_REALM.
# Optional for the interactive app, because it can be entered manually.
# Still required for non-interactive doctor login checks.
PROXMOX_USER=root
# Password for the configured user.
# Required for live API access.
# Default password for the configured user.
# Optional for the interactive app, because it can be entered manually.
# Still required for non-interactive doctor login checks.
PROXMOX_PASSWORD=replace-me
# Verify TLS certificates for API requests.