Skip to content

Configuration

env file used by docker compose

    DJANGO_SECRET_KEY=*****asecretstringforcookiescsrf*******************

    DJANGO_SQL_DATABASE=sirene
    DJANGO_SQL_USER=sirene
    DJANGO_SQL_PASSWORD=********apwd**********************
    DJANGO_CELERY_BROKER_URL="redis://redis:6379"
    DJANGO_CELERY_RESULT_BACKEND="redis://redis:6379"

    MARIADB_DATABASE=sirene
    MARIADB_USER=sirene
    MARIADB_PASSWORD=************samepwd******************
    MARIADB_ROOT_PASSWORD=*********arootpwd********************

    # --- Sirene

    SIRENE_APPNAME=Sirene

    # -- auth
    SIRENE_AUTH_MODE=basic
    #SIRENE_AUTH_MODE=federated
    #SIRENE_AUTH_FEDERATED_LOGIN=X-User
    #SIRENE_AUTH_FEDERATED_EMAIL=X-Email
    #SIRENE_AUTH_LOGIN_REMOVE_DOMAIN=yes

    # manual, auto
    SIRENE_AUTH_PROVISIONING=manual
    #SIRENE_AUTH_FORCE_USER=test

    # smtp, folder, stdout
    SIRENE_EMAIL_MODE=smtp
    # smtp mode: default, console
    SIRENE_EMAIL_BACKEND=default
    SIRENE_EMAIL_HOST=localhost
    SIRENE_EMAIL_PORT=25
    SIRENE_EMAIL_USER=noreply
    SIRENE_EMAIL_PASSWORD=***************************
    SIRENE_EMAIL_FROM="noreply@cavaliba.com"
    SIRENE_EMAIL_PREFIX="[Sirene] "
    SIRENE_EMAIL_SMTP_BATCH=10
    SIRENE_EMAIL_TEST_SUBJECT="Sirene - TEST TEST TEST"
    SIRENE_EMAIL_TEST_CONTENT="Test"

    SIRENE_SMS_MODE=stdout
    SIRENE_SMS_URL=""
    SIRENE_SMS_LOGIN="my_sms_account"
    SIRENE_SMS_PASSWORD="*************************"
    SIRENE_SMS_PREFIX="[Sirene] "
    SIRENE_SMS_TEST="Sirene - TEST TEST TEST - Ignore"


    SIRENE_PUBLIC_MAX_ITEMS=5
    SIRENE_PUBLIC_MAX_MINUTES=1440
    SIRENE_PRIVATE_MAX_MINUTES=1440
    SIRENE_LOG_KEEP_DAYS=30