You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Antragsgrün supports configuration via environment variables following the 12-factor app methodology. This is the recommended approach for containerized deployments.
Quick Start
Set environment variables instead of creating config/config.json:
For containerized deployments where no config.json file exists, Antragsgrün can be fully configured via environment variables. This is ideal for Docker Compose, Kubernetes, or other orchestration platforms.
When no config.json is present, the application will:
Read all configuration from environment variables
Skip the installation wizard if required variables (DB_HOST, DB_NAME, DB_USER, RANDOM_SEED) are set
Auto-configure mail delivery from MAILER_DSN or individual SMTP_* variables
Backwards Compatibility
Existing config.json files continue to work without changes. Environment variables are only used as fallback when values are not present in config.json.
Implementation Details
See models/settings/EnvironmentConfigLoader.php for the implementation.