talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/postgres-explain-visualizer/templates/config.py.j2
senke 66471934af Initial commit: Talas Group project management & documentation
Knowledge base of ~80+ markdown files across 14 domains (00-13),
Logseq graph, hardware design files (KiCAD), infrastructure configs,
and talas-wiki static site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:10:41 +02:00

15 lines
531 B
Django/Jinja

# {{ ansible_managed }}
WTF_CSRF_ENABLED = False
SECRET_KEY = "{{ pev_secret_key }}"
DB_NAME = "pev"
DB_USER = "pev"
DB_PASS = "{{ lookup('hashi_vault', 'secret=cosium-kv/data/' + host_vars_location + '/' + ansible_hostname)['postgres_user_pev_password'] }}"
DB_SERVICE = "127.0.0.1"
DB_PORT = 5432
SQLALCHEMY_DATABASE_URI = 'postgresql://{0}:{1}@{2}:{3}/{4}'.format(
DB_USER, DB_PASS, DB_SERVICE, DB_PORT, DB_NAME
)
DEBUG_TB_INTERCEPT_REDIRECTS = False
DEBUG_TB_PROFILER_ENABLED = True
SQLALCHEMY_TRACK_MODIFICATIONS = False