system-prompts-and-models-o.../salesflow-saas/.env.staging.example
2026-04-12 11:01:09 +00:00

37 lines
1.1 KiB
Plaintext

# Staging template — copy to `.env` on the staging host (never commit `.env`).
# Full variable list: `.env.example`. Phase-2 integrations checklist: `docs/INTEGRATION_MASTER_AR.md`
# and `backend/.env.phase2.example`.
ENVIRONMENT=staging
DEFAULT_TIMEZONE=Asia/Riyadh
# Docker Compose: keep @db / @redis hostnames. Bare metal: use 127.0.0.1 and matching ports.
DB_NAME=salesflow
DB_USER=salesflow
DB_PASSWORD=REPLACE_ME_STRONG
DATABASE_URL=postgresql+asyncpg://salesflow:REPLACE_ME_STRONG@db:5432/salesflow
REDIS_URL=redis://redis:6379/0
SECRET_KEY=REPLACE_ME_RANDOM_32PLUS_CHARS
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# Public URLs for your staging domain (CORS + webhooks)
API_URL=https://api-staging.example.com
FRONTEND_URL=https://app-staging.example.com
NEXT_PUBLIC_API_URL=https://api-staging.example.com
WEBHOOK_BASE_URL=https://api-staging.example.com/api/v1/webhooks
# LLM — set at least one real key for AI features in staging
OPENAI_API_KEY=
GROQ_API_KEY=
# Channels — fill only what you will smoke-test (see launch checklist)
WHATSAPP_API_TOKEN=
WHATSAPP_PHONE_NUMBER_ID=
WHATSAPP_VERIFY_TOKEN=
SMTP_USER=
SMTP_PASSWORD=