mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-14 12:17:57 +01:00
93e367b668
The docker image names will stay with the same tag. Delete alpine version of pdns-admin-uwsgi as it was broken.
14 lines
512 B
Smarty
14 lines
512 B
Smarty
import os
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
{% for key, value in environment('PDNS_ADMIN_') %}{{ key }} = {{ value }}
|
|
{% endfor %}
|
|
|
|
WTF_CSRF_ENABLED = True
|
|
BIND_ADDRESS = '0.0.0.0'
|
|
PORT = 9393
|
|
LOG_FILE = ''
|
|
UPLOAD_DIR = '/opt/powerdns-admin/upload'
|
|
SQLALCHEMY_DATABASE_URI = 'mysql://' + SQLA_DB_USER + ':' + SQLA_DB_PASSWORD + '@' + SQLA_DB_HOST + ':' + SQLA_DB_PORT + '/' + SQLA_DB_NAME
|
|
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = True
|