2018-11-21 00:01:51 +01:00
|
|
|
import os
|
|
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
2020-01-08 01:07:16 +01:00
|
|
|
### BASIC APP CONFIG
|
|
|
|
BIND_ADDRESS = '0.0.0.0'
|
|
|
|
PORT = 9191
|
|
|
|
HSTS_ENABLED = False
|
|
|
|
|
|
|
|
# SAML Authnetication
|
|
|
|
SAML_ENABLED = False
|
|
|
|
|
2018-11-21 00:01:51 +01:00
|
|
|
{% for key, value in environment('PDNS_ADMIN_') %}{{ key }} = {{ value }}
|
|
|
|
{% endfor %}
|
|
|
|
|
2020-01-08 01:07:16 +01:00
|
|
|
### DATABASE CONFIG
|
2018-11-21 00:01:51 +01:00
|
|
|
SQLALCHEMY_DATABASE_URI = 'mysql://' + SQLA_DB_USER + ':' + SQLA_DB_PASSWORD + '@' + SQLA_DB_HOST + ':' + SQLA_DB_PORT + '/' + SQLA_DB_NAME
|
|
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = True
|