lenticular_cloud2/application.cfg
2020-05-10 19:37:57 +02:00

35 lines
659 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,
'pki_config':{
'email': '{username}@jabber.{domain}'
}
},
'calendar': {
'client_cert': True
},
'mail': {
'client_cert': True
}
}