lenticular_cloud2/application.cfg
2020-05-09 21:07:46 +02:00

32 lines
630 B
INI

SECRET_KEY = 'secret_key'
SESSION_COOKIE_NAME='lc_session'
SUBJECT_ID_HASH_SALT = 'salt'
PREFERRED_URL_SCHEME = 'https'
DATA_FOLDER = "./data"
SQLALCHEMY_DATABASE_URI = f'sqlite:///{DATA_FOLDER}/db.sqlite'
LDAP_URL = 'ldaps://ldap.example.org'
LDAP_BASE_DN = 'dc=example,dc=com'
LDAP_BIND_DN = 'cn=admin,' + LDAP_BASE_DN
LDAP_BIND_PW = '123456'
PKI_PATH = f'{DATA_FOLDER}/pki'
DOMAIN = 'example.com'
SERVER_NAME = f'account.{ DOMAIN }:9090'
LENTICULAR_CLOUD_SERVICES = {
'jabber': {
'client_cert': True,
'client_cert_option':{
'email': '{username}@jabber.{domain}'
}
},
'calendar': {
'client_cert': True
}
}