[Feature request] Allow yml to be absent when ENV is set #1314

Closed
opened 2026-04-05 18:53:11 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jackrosenberg on 6/24/2025

In config.yml, certain fields such as USERS_SERVERADMIN_PASSWORD need to be hard coded. It would be nice if these fields could be left blank in the case that the corresponding env var is found on startup. Currently pangolin throws: Error: Invalid configuration file: Validation error, which is the expected behavior, but something like lazy loading would be an elegant fix for this.

*Originally created by @jackrosenberg on 6/24/2025* In `config.yml`, certain fields such as `USERS_SERVERADMIN_PASSWORD` need to be hard coded. It would be nice if these fields could be left blank in the case that the corresponding `env` var is found on startup. Currently pangolin throws: `Error: Invalid configuration file: Validation error`, which is the expected behavior, but something like lazy loading would be an elegant fix for this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1314