Files
Jyotisha/deploy/.env.staging.identity.example
T
2026-07-21 17:52:25 +08:00

19 lines
990 B
Bash

# Copy these names into /opt/jyotisha-staging/.env.staging, replace every
# bracketed value locally, keep the file mode 0600, and do not commit it.
APP_ENV_FILE=../.env.staging
CADDYFILE_PATH=./Caddyfile.staging
SITE_ADDRESS=https://staging.jyotisha.chat
ADMIN_SITE_ADDRESS=https://admin.staging.jyotisha.chat
# Coexistence mode: the public site still uses Supabase-backed business routes,
# while the self-hosted identity API and the admin-host login can be tested.
AUTH_PROVIDER=supabase
SELF_HOSTED_IDENTITY_ENABLED=true
AUTH_USER_ORIGIN=https://staging.jyotisha.chat
AUTH_ADMIN_ORIGIN=https://admin.staging.jyotisha.chat
IDENTITY_DATABASE_URL=postgresql://identity_runtime:<percent-encoded-identity-runtime-password>@postgres:5432/jyotisha
BETTER_AUTH_USER_SECRET=<independent-openssl-rand-base64-32-output>
BETTER_AUTH_ADMIN_SECRET=<different-openssl-rand-base64-32-output>
RESEND_API_KEY=<staging-only-resend-api-key>
RESEND_FROM_EMAIL=Jyotisha Staging <login@staging.jyotisha.chat>