fix config issues

This commit is contained in:
TuxCoder 2020-05-09 21:07:46 +02:00
parent 52fcc0de28
commit 9fee14dcae

View file

@ -1,11 +1,11 @@
SECRET_KEY = 'secret_key' SECRET_KEY = 'secret_key'
SESSION_COOKIE_NAME='pyop_session' SESSION_COOKIE_NAME='lc_session'
SUBJECT_ID_HASH_SALT = 'salt' SUBJECT_ID_HASH_SALT = 'salt'
PREFERRED_URL_SCHEME = 'https' PREFERRED_URL_SCHEME = 'https'
DATA_FOLDER = "./data" DATA_FOLDER = "./data"
SQLALCHEMY_DATABASE_URI = f'sqlite:///{DATA_FOLDER}db.sqlite' SQLALCHEMY_DATABASE_URI = f'sqlite:///{DATA_FOLDER}/db.sqlite'
LDAP_URL = 'ldaps://ldap.example.org' LDAP_URL = 'ldaps://ldap.example.org'
LDAP_BASE_DN = 'dc=example,dc=com' LDAP_BASE_DN = 'dc=example,dc=com'
@ -14,8 +14,8 @@ LDAP_BIND_PW = '123456'
PKI_PATH = f'{DATA_FOLDER}/pki' PKI_PATH = f'{DATA_FOLDER}/pki'
DOMAIN = 'example.org' DOMAIN = 'example.com'
SERVER_NAME = 'account.{{ DOMAIN }}:9090' SERVER_NAME = f'account.{ DOMAIN }:9090'
LENTICULAR_CLOUD_SERVICES = { LENTICULAR_CLOUD_SERVICES = {