25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
# Copy to .env — never commit the real file.
|
|
|
|
# Per-tenant Frappe credentials + Stripe webhook secrets now live in
|
|
# tenants.json (copy from tenants.example.json — also never committed with
|
|
# real values), not here. One JSON entry per client: each client registers
|
|
# their own /webhook/stripe/<tenant_slug> URL in their own Stripe Dashboard,
|
|
# so the URL itself carries the tenant — no credential set is ever shared
|
|
# across clients. See tenants.example.json for the exact shape.
|
|
TENANTS_CONFIG_PATH=tenants.json
|
|
|
|
# Empty disables Sentry (e.g. local development). Get a DSN from a Sentry
|
|
# project (sentry.io project settings -> Client Keys (DSN), or your
|
|
# self-hosted instance's equivalent) — Python/Flask platform.
|
|
SENTRY_DSN=
|
|
|
|
# Tags every Sentry event; lets errors from different deployments (or a
|
|
# local dev run with a test DSN) be told apart in one Sentry project.
|
|
ENVIRONMENT=production
|
|
|
|
# Path to the shared SQLite state store inside the container — one file for
|
|
# every tenant, every row scoped by tenant_slug (see billing/state_store.py).
|
|
# The compose service should mount a volume at this path's parent directory
|
|
# so it survives container restarts/redeploys.
|
|
STATE_STORE_PATH=/data/state.db
|