47 lines
1.5 KiB
Plaintext
47 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
|
|
|
|
# Static root directory
|
|
export STATIC_ROOT='/var/lib/portail-citoyen/static'
|
|
|
|
# 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-citoyen/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='*'
|
|
|
|
# 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'
|
|
|
|
# Enables some features
|
|
export IDP_SAML2='yes'
|
|
#export IDP_OPENID='yes'
|
|
#export IDP_CAS='yes'
|
|
#export AUTH_SAML2='yes'
|
|
#export AUTH_OPENID='yes'
|
|
#export AUTH_SSL='yes'
|
|
#export AUTH_OATH='yes'
|
|
|
|
|