Configuration Reference
The API and the worker read their settings from environment variables. When they run outside Docker, they also read a .env file in the working directory. Names are case-insensitive.
| Variable | Default | Description |
|---|---|---|
DATABASE_URL | postgresql+asyncpg://bizon:bizon@localhost:5432/bizon_platform | Postgres URL. Keep the +asyncpg driver. |
ENCRYPTION_KEY | none | Fernet key for encrypting pipeline and saved-connector configs. Generate one with make key. |
ADMIN_PASSWORD | none | Turns on HTTP Basic auth for every endpoint except /api/health. See Authentication. |
HOST | 0.0.0.0 | API bind address |
PORT | 8000 | API port |
DEBUG | false | Enables uvicorn auto-reload when the API is started with python -m bizon_platform |
CORS_ALLOWED_ORIGINS | ["http://localhost:5173", "http://localhost:3000"] | JSON list of allowed browser origins |
Worker and storage
Section titled “Worker and storage”| Variable | Default | Description |
|---|---|---|
WORKER_POLL_INTERVAL | 2 | Seconds an idle worker waits between polls |
STORAGE_BACKEND | local | local is the only option |
STORAGE_LOCAL_PATH | /tmp/bizon-outputs | Run logs (logs/...) and file destination outputs. Must be shared by the API and the workers. |
LOG_RETENTION_DAYS | 30 | Accepted, but nothing deletes old log files yet |
EXECUTION_BACKEND | subprocess | Only subprocess is available |
Custom sources
Section titled “Custom sources”| Variable | Default | Description |
|---|---|---|
CUSTOM_SOURCES_DIR | ./custom_sources | Directory of custom sources. Must be shared by the API and the workers. |
GIT_SYNC_ENABLED | false | Sync custom sources from Git |
GIT_SYNC_REPO_URL | none | Repository URL |
GIT_SYNC_BRANCH | main | Branch to sync |
GIT_SYNC_PATH | custom_sources | Folder in the repository |
GIT_SYNC_TOKEN | none | Token for private HTTPS repositories |
GIT_SYNC_WEBHOOK_SECRET | none | Secret for GitHub and GitLab push webhooks |
See Git sync.
Branding
Section titled “Branding”| Variable | Default | Description |
|---|---|---|
INSTANCE_NAME | Bizon | Name shown as the API title in the OpenAPI docs |
INSTANCE_DESCRIPTION | Data pipeline orchestration platform | API description in the OpenAPI docs |
Example .env
Section titled “Example .env”ENCRYPTION_KEY=your-fernet-keyDATABASE_URL=postgresql+asyncpg://bizon:bizon@localhost:5432/bizon_platform
# ADMIN_PASSWORD=change-me
# GIT_SYNC_ENABLED=true# GIT_SYNC_REPO_URL=https://github.com/acme/bizon-sources.git# GIT_SYNC_TOKEN=ghp_xxx# GIT_SYNC_WEBHOOK_SECRET=...With Docker Compose, only ENCRYPTION_KEY is passed from .env into the containers. Add any other variable to the service’s environment in docker-compose.yml. See Docker.
Pipeline credentials
Section titled “Pipeline credentials”Pipeline subprocesses inherit the worker’s environment. Variables that your pipelines reference, for example through bizon-core secret references, must be set on the worker. They must also be set on the API, which resolves the references when it validates a config.