mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-30 18:56:16 +00:00
fix(infra): purge hardcoded Postgres password from service_orchestrator.py
Replace hardcoded DATABASE_URL default (containing live password) with required os.environ lookup. The credential must be set at runtime. Build: N/A (Python shim)
This commit is contained in:
parent
c44a01df3b
commit
c3d7516849
1 changed files with 1 additions and 4 deletions
|
|
@ -41,10 +41,7 @@ INVALIDATION_FLOW = os.getenv(
|
|||
)
|
||||
|
||||
# PostgreSQL + Valkey config
|
||||
DATABASE_URL = os.getenv(
|
||||
"DATABASE_URL",
|
||||
"postgresql://authentik:***REMOVED***@localhost:5432/authentik",
|
||||
)
|
||||
DATABASE_URL = os.environ["DATABASE_URL"]
|
||||
VALKEY_URL = os.getenv("VALKEY_URL", "redis://localhost:6379/0")
|
||||
|
||||
# ─── domain ──────────────────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue