Refactor Proxmox settings validation and enhance dotenv loading logic; update README for clarity on configuration requirements
This commit is contained in:
parent
9a7bd81d17
commit
376e6f5631
10 changed files with 135 additions and 25 deletions
15
.env.example
15
.env.example
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue