42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
# do not remove this line, it imports db configuration from dbconfig-common
|
|
[ -f /etc/portail-citoyen/db.conf ] && . /etc/portail-citoyen/db.conf
|
|
# do not remove this line, it imports secret which is automatically generated
|
|
[ -f /etc/portail-citoyen/secret ] && . /etc/portail-citoyen/secret
|
|
# import saml certificates (automatically genereted)
|
|
[ -f /etc/portail-citoyen/saml-certs.conf ] && . /etc/portail-citoyen/saml-certs.conf
|
|
# containing multitenant settings
|
|
[ -f /etc/portail-citoyen/tenant.conf ] && . /etc/portail-citoyen/tenant.conf
|
|
|
|
# Debug
|
|
#export DEBUG=yes
|
|
|
|
# Define administrators / managers
|
|
export ADMINS='admin eo;admin@entrouvert.com'
|
|
|
|
# Database configuration (please use dpkg-reconfigure portail-citoyen)
|
|
#export DATABASE_ENGINE='django.db.backends.sqlite3'
|
|
#export DATABASE_NAME='/var/lib/portail-citoyen2/portail-citoyen.db'
|
|
|
|
# Sentry / Raven configuration
|
|
#export export RAVEN_CONFIG_DSN='' # require package python-raven
|
|
|
|
# Log root directory
|
|
export LOG_ROOT='/var/log/portail-citoyen/portail-citoyen.log'
|
|
|
|
# We are behind a reverse proxy so we accept every hosts
|
|
export ALLOWED_HOSTS='*'
|
|
|
|
export AUTHENTIC2_URL='AUTHENTIC2_URL'
|
|
|
|
# Email configuration
|
|
#export EMAIL_HOST='localhost'
|
|
#export EMAIL_PORT='25'
|
|
#export EMAIL_SUBJECT_PREFIX='[Portail Citoyen]'
|
|
#export SERVER_EMAIL='root@test.com'
|
|
#export DEFAULT_FROM_EMAIL='portail-citoyen@test.com'
|
|
|
|
export SETTING_ALLAUTH_A2_ADMIN_ROLE="Administrateur"
|
|
export LOGOUT_URL="$AUTHENTIC2_URL/logout?next=https://portailcitoyen-cud.dev.entrouvert.org/"
|
|
|
|
|