Files
root 7a5603b495 Portal decision B: client portal on my.debtrecoveryexperts.com
- DRE_BASE_URL -> https://my.debtrecoveryexperts.com (magic links, team notify)
- CORS allow_origins adds https://my.debtrecoveryexperts.com
- magic-link path /portal/verify -> /verify (client portal is domain root, not a subpath)
2026-08-21 18:50:05 -04:00

24 lines
929 B
Bash

# DRE Portal backend environment — copy to /opt/dre-portal/.env and fill in secrets (chmod 600)
# Generated fresh DRE_STAFF_KEY on deploy (do NOT commit this file).
# 64-hex random staff key (X-DRE-Staff-Key header) — generate with: python3 -c "import secrets; print(secrets.token_hex(32))"
DRE_STAFF_KEY=__GENERATE_ME__
# SQLite DB path + uploads dir
DRE_DB_PATH=/opt/dre-portal/data/dre.db
DRE_UPLOAD_DIR=/opt/dre-portal/data/uploads
# Base URL for magic-link emails
DRE_BASE_URL=https://my.debtrecoveryexperts.com
# SMTP relay (germainebrown.com:2525 STARTTLS) — best-effort, failures never fail the request
DRE_SMTP_HOST=mail.germainebrown.com
DRE_SMTP_PORT=2525
DRE_SMTP_FROM=dre@debtrecoveryexperts.com
DRE_TEAM_NOTIFY=dre@debtrecoveryexperts.com
DRE_SMTP_USER=shonuff@germainebrown.com
DRE_SMTP_PASS=__FROM_HIMALAYA_PASSFILE__
# Optional Cloudflare Turnstile (intake skips captcha if unset)
# TURNSTILE_SECRET=