55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
|
|
# Database configuration
|
|
export DATABASE_ENGINE='django.db.backends.sqlite3'
|
|
export DATABASE_NAME='/var/lib/compte-agglo-montpellier/compte-agglo-montpellier.db'
|
|
|
|
# Debug
|
|
#export DEBUG=yes
|
|
|
|
# Define administrators / managers
|
|
export ADMINS='admin eo;admin@entrouvert.com'
|
|
|
|
|
|
# Static root directory
|
|
export STATIC_ROOT='/var/lib/compte-agglo-montpellier/static'
|
|
|
|
# Log root directory
|
|
export LOG_ROOT='/var/log/compte-agglo-montpellier/compte-agglo-montpellier.log'
|
|
|
|
# secret to CHANGE
|
|
export SECRET_KEY='changeme'
|
|
|
|
# We are behind a reverse proxy so we accept every hosts
|
|
export ALLOWED_HOSTS='*'
|
|
|
|
# Configure Django cache
|
|
export CACHE_BACKEND='{"BACKEND": "django.core.cache.backends.memcached.MemcachedCache", "LOCATION": "127.0.0.1:11211"}'
|
|
|
|
# SMS url
|
|
export PORTAIL_CITOYEN_SMS_URL='https://passerelle.montpellier-agglo.com/message/sms/json'
|
|
|
|
# Email configuration
|
|
#export EMAIL_HOST='localhost'
|
|
#export EMAIL_PORT='25'
|
|
#export EMAIL_SUBJECT_PREFIX='[Compte Montpellier Prod]'
|
|
#export SERVER_EMAIL='root@compte-montpellier.montpellier-agglo.com'
|
|
|
|
#export DEFAULT_FROM_EMAIL='e-services@montpellier-agglo.com'
|
|
|
|
# You MUST set RSA key here
|
|
# you can generate this key with this commands :
|
|
# openssl genrsa -out saml.key 2048
|
|
# openssl rsa -in saml.key -pubout -out saml.pub
|
|
#export SAML_SIGNATURE_PUBLIC_KEY=""
|
|
#export SAML_SIGNATURE_PRIVATE_KEY=""
|
|
|
|
# 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'
|
|
|