Configuration
Runtime Settings
Central runtime configuration and behavior.
Runtime settings are loaded server-side and used across the app. Keep sensitive values in .env and read them via the server runtime settings utilities.
What belongs here
- App URL and name
- Storage mode and limits
- Feature flags and toggles
- Security toggles (e.g. disabling API tokens)
Best practices
- Keep
NEXT_PUBLIC_*usage minimal - Prefer server runtime settings and pass down only what the UI needs
- Validate values at startup