Application settings
Here is a detailed list of all the environment variables which can be used to configure your Callico instance.
| Setting name | Description | Required | Values |
|---|---|---|---|
DEBUG |
Set the platform in production or development mode. It is insecure to run a public instance in development mode. |
✅ |
|
DATABASE_URL |
Credentials to connect to the PostgreSQL database. |
✅ |
|
SECRET_KEY |
Random string used to build securely authentication cookies. Must be unique per instance. |
✅ |
|
ALLOWED_HOSTS |
List of public hostnames where HTTP requests come from. Any request received from an hostname not listed here will be rejected. When using multiple values, use a comma to separate them. |
✅ |
|
CORS_ALLOWED_ORIGINS |
List of public hostnames where Javascript requests come from. Beware this list must have http(s) scheme before the hostname. When using multiple values, use a comma to separate them. |
✅ |
|
CSRF_TRUSTED_ORIGINS |
List of public hostnames where form publication requests come from. Beware this list must have http(s) scheme before the hostname. When using multiple values, use a comma to separate them. |
✅ |
|
REDIS_URL |
URL used to reach the Redis server for asynchronous tasks. |
✅ |
|
INSTANCE_URL |
Public hostname used to host the instance. It is mainly used to build urls in emails. |
✅ |
|
SIGNUP_ENABLED |
Specify if guests are allowed to create an account on the Callico instance. By default, signups are disabled. |
|
|
EMAIL_URL |
Credentials to send emails with the application. An SMTP email account is required to send Callico emails such as "Forget password", "Daily statistics", etc. |
|
|
DEFAULT_FROM_EMAIL |
The email address which will be used to send the emails. |
|
|
SENTRY_DSN |
Sentry private DSN used to publish Python exceptions. |
|
|
SENTRY_FRONTEND_DSN |
Sentry private DSN used to publish Javascript exceptions. |
|
|
STORAGE_BUCKET_NAME |
AWS S3-compatible bucket name where the media files will be stored. |
✅ |
|
AWS_ACCESS_KEY_ID |
AWS S3-compatible access key to read and write on the media files bucket. |
✅ |
|
AWS_SECRET_ACCESS_KEY |
AWS S3-compatible secret access key to read and write on the media files bucket. |
✅ |
|
STORAGE_ENDPOINT_URL |
AWS S3-compatible endpoint url. By default, official Amazon S3 service will be used. |
|
|
STORAGE_SSL_CA_PATH |
AWS S3-compatible SSL Certificate Authority to validate the endpoint. Only used if the provider use self-signed certificates. |
|
|
STORAGE_LOCATION |
AWS S3-compatible optional prefix for every file that will be managed by Callico. Only useful if the bucket is shared with other applications. |
|
|
PROJECT_CREATION_ALLOWED |
Specify if all authenticated users are allowed to create projects on the Callico instance. By default, project creation is reserved to staff users. |
|
|
CACHE_URL |
Cache to be used by Callico. We recommend to use Redis cache for production as in-memory cache will not work with docker. Dummy cache is not supported with OIDC. |
|
|
OIDC_ENABLED |
Allow using an external OpenID Connect supplier for authentication, disabled by default. If enabled, the below settings are required to be set:
This is set to |
|
|
OIDC_PROVIDER |
Provider used for OpenID Connect protocol authentication. |
One of:
|
|
OIDC_PROVIDER_DISCOVERY_URI |
Root URI of the provider, or URI of the OpenID Provider Configuration request. This will be used to discover the URLs of all endpoints and the rest of the configuration to use for this provider. If the URI does not end with Required when OIDC is enabled. |
||
OIDC_CLIENT_ID |
Client ID used to authenticate against the OpenID server. Required when OIDC is enabled. |
|
|
OIDC_CLIENT_SECRET |
Client secret used to authenticate against the OpenID server. Required when OIDC is enabled. |
|