Co-authored-by: Michael Chihlas <michael@resolutionflow.com> Co-committed-by: Michael Chihlas <michael@resolutionflow.com>
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# Application
|
|
APP_NAME=ResolutionFlow
|
|
DEBUG=true
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/resolutionflow
|
|
DATABASE_URL_SYNC=postgresql://postgres:postgres@localhost:5432/resolutionflow
|
|
|
|
# JWT Settings - CHANGE THESE IN PRODUCTION
|
|
# Generate with: openssl rand -hex 32
|
|
SECRET_KEY=your-super-secret-key-change-this-in-production
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=15
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# CORS
|
|
CORS_ORIGINS=["http://localhost:3000","http://localhost:5173"]
|
|
|
|
# Anthropic API Key
|
|
ANTHROPIC_API_KEY=
|
|
VOYAGE_API_KEY=
|
|
|
|
# ConnectWise PSA Integration
|
|
CW_CLIENT_ID=<CONNECTWISE CLIENT ID>
|
|
|
|
# Stripe
|
|
# Test keys from Stripe Dashboard → Developers → API keys (with Test mode toggled on).
|
|
# Webhook secret for local dev: from `stripe listen --forward-to localhost:8000/api/v1/webhooks/stripe`.
|
|
# When unset, app/core/config.py:stripe_enabled returns False and Stripe code paths short-circuit.
|
|
STRIPE_SECRET_KEY=sk_test_
|
|
STRIPE_PUBLISHABLE_KEY=pk_test_
|
|
STRIPE_WEBHOOK_SECRET=whsec_
|
|
|
|
# Self-serve cutover
|
|
# SELF_SERVE_ENABLED is the master switch for the public self-serve signup
|
|
# flow (pricing page, invite-code-optional registration). Default is false
|
|
# until Phase O cutover.
|
|
# INTERNAL_TESTER_EMAILS is a comma-separated allowlist that bypasses the
|
|
# global flag for specific users — used for prod test-mode validation
|
|
# before the public flip. Empty by default.
|
|
SELF_SERVE_ENABLED=false
|
|
INTERNAL_TESTER_EMAILS= |