update data folder

This commit is contained in:
TuxCoder 2020-05-09 20:57:16 +02:00
parent dfd166bd3b
commit 52fcc0de28
3 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View file

@ -4,3 +4,6 @@
/pki
signing_key.pem
node_modules
/data
/https.crt
/https.key

View file

@ -1,10 +1,11 @@
SERVER_NAME = 'account.example.com:9090'
SECRET_KEY = 'secret_key'
SESSION_COOKIE_NAME='pyop_session'
SUBJECT_ID_HASH_SALT = 'salt'
PREFERRED_URL_SCHEME = 'https'
SQLALCHEMY_DATABASE_URI='sqlite:///./db.sqlite'
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'
@ -12,8 +13,9 @@ LDAP_BIND_DN = 'cn=admin,' + LDAP_BASE_DN
LDAP_BIND_PW = '123456'
PKI_PATH = 'pki'
PKI_PATH = f'{DATA_FOLDER}/pki'
DOMAIN = 'example.org'
SERVER_NAME = 'account.{{ DOMAIN }}:9090'
LENTICULAR_CLOUD_SERVICES = {

0
data/pki/.gitkeep Normal file
View file