mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-14 04:07:57 +01:00
17 lines
474 B
Smarty
17 lines
474 B
Smarty
import os
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
### BASIC APP CONFIG
|
|
BIND_ADDRESS = '0.0.0.0'
|
|
PORT = 9191
|
|
HSTS_ENABLED = False
|
|
|
|
# SAML Authnetication
|
|
SAML_ENABLED = False
|
|
|
|
{% for key, value in environment('PDNS_ADMIN_') %}{{ key }} = {{ value }}
|
|
{% endfor %}
|
|
|
|
### DATABASE CONFIG
|
|
SQLALCHEMY_DATABASE_URI = 'mysql://' + SQLA_DB_USER + ':' + SQLA_DB_PASSWORD + '@' + SQLA_DB_HOST + ':' + SQLA_DB_PORT + '/' + SQLA_DB_NAME
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = True
|