Environment variables
Environment configuration below describes the audited Brezel 4 (feat/ai) config files. Set instance secrets through the operator environment; never put them into public documentation or system repositories.
- Database, storage, mail and queue
- Broadcasting: Reverb and Brotcast
- AI providers, secrets and recipe access
Instance and frontend
Section titled “Instance and frontend”| Key | Purpose |
|---|---|
| APP_ENV | Laravel environment (local/staging/production/testing). |
| APP_KEY | Instance encryption key; initialized through php artisan brezel:init. |
| APP_DEBUG | Debug output; false in production. |
| APP_URL | Public API URL used for sharing, OAuth and issuer defaults. |
| BREZEL_EXPORT_URL | Export service endpoint. |
| VITE_APP_URL | SPA API URL. |
| VITE_APP_SYSTEM | Default SPA system identifier; otherwise hostname discovery. |
Additional file/SSG knobs include BREZEL_FILES_THUMBNAILSIZE_MINI, BREZEL_FILES_THUMBNAILSIZE_DEFAULT, BREZEL_HIDE_PROGRESS_BAR and BREZEL_SSG_PATH_HUGO.
System environment
Section titled “System environment”System variables are prefixed with BREZEL_SYSTEM_ followed by the system identifier and an underscore in the instance environment. Inside systems/example/.env omit that prefix. System DB keys are DB_DATABASE, DB_USER and DB_PASSWORD; these are distinct from the instance DB_USERNAME key. System connection management is determined by system configuration and runtime connection handling; there is no MANAGE_CONNECTION environment toggle in this code line.
See Artisan CLI for initialization and test-system operations.