Skip to content

Environment variables

LabelIt backend requires some environment variables to run.

List of all environement variables available

Name Required Description Example
ALLOWED_HOST Yes Backend will only accept request from this host. It is automatically set when you deploy using Helm. labelit.my-domain.com
AUDIO_FILE_STORAGE
AWS_IMAGE_STORAGE_BUCKET_NAME
AWS_S3_OPTIONS No Used for local development setup to serve files from minio local
CONTINUOUS_TRANSCRIPT
DB_HOST Yes
DB_NAME Yes
DB_PASSWORD Yes
DB_USER Yes
DJANGO_DEBUG No Refer to Django documentation true
IMAGE_FILE_STORAGE
MAX_SEG_DUR
MIN_SEG_DUR
MUSIC_MODEL
SECRET_KEY Yes Refer to Django documentation mysupersecretkey1234*