Spaces:
Sleeping
Sleeping
Hetansh Waghela commited on
Commit Β·
427d582
1
Parent(s): f89cf0c
chore: Add .env.example template for backend local dev
Browse files- .env.example +70 -0
.env.example
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copy this to .env and fill in your real keys
|
| 2 |
+
# NEVER commit .env β it contains secrets!
|
| 3 |
+
|
| 4 |
+
# ββ Database ββ
|
| 5 |
+
DATABASE_URL=postgres://courtmitra:courtmitra@localhost:5432/courtmitra
|
| 6 |
+
DIRECT_DATABASE_URL=postgres://courtmitra:courtmitra@localhost:5432/courtmitra
|
| 7 |
+
|
| 8 |
+
# ββ App URLs ββ
|
| 9 |
+
APP_BASE_URL=http://localhost:3000
|
| 10 |
+
API_BASE_URL=http://localhost:3001
|
| 11 |
+
WEBHOOK_BASE_URL=http://localhost:3001
|
| 12 |
+
|
| 13 |
+
# ββ AI Provider ββ
|
| 14 |
+
# Options: openrouter | opencode
|
| 15 |
+
AI_PROVIDER=openrouter
|
| 16 |
+
OPENROUTER_API_KEY=
|
| 17 |
+
AI_MODEL=google/gemini-2.0-flash-exp:free
|
| 18 |
+
AI_VISION_MODEL=google/gemini-2.0-flash-exp:free
|
| 19 |
+
|
| 20 |
+
# ββ OpenCode (alternative AI provider) ββ
|
| 21 |
+
# OPENCODE_API_KEY=
|
| 22 |
+
# OPENCODE_BASE_URL=https://opencode.ai/zen/go/v1
|
| 23 |
+
# AI_MODEL=deepseek-v4-flash
|
| 24 |
+
# AI_VISION_MODEL=qwen3.6-plus
|
| 25 |
+
|
| 26 |
+
# ββ Clerk (backend JWT verification) ββ
|
| 27 |
+
CLERK_SECRET_KEY=
|
| 28 |
+
# Optional: for networkless JWT verification
|
| 29 |
+
# CLERK_JWT_KEY=
|
| 30 |
+
# CLERK_AUTHORIZED_PARTIES=http://localhost:3000
|
| 31 |
+
|
| 32 |
+
# ββ Local Dev Mode ββ
|
| 33 |
+
# DEMO_MODE=true
|
| 34 |
+
|
| 35 |
+
# ββ Object Storage (optional β evidence files) ββ
|
| 36 |
+
# OBJECT_STORAGE_ENDPOINT=
|
| 37 |
+
# OBJECT_STORAGE_BUCKET=
|
| 38 |
+
# OBJECT_STORAGE_ACCESS_KEY=
|
| 39 |
+
# OBJECT_STORAGE_SECRET_KEY=
|
| 40 |
+
|
| 41 |
+
# ββ Email (Resend) ββ
|
| 42 |
+
# RESEND_API_KEY=
|
| 43 |
+
# RESEND_FROM=noreply@example.com
|
| 44 |
+
|
| 45 |
+
# ββ Inngest (background workflows) ββ
|
| 46 |
+
# INNGEST_EVENT_KEY=
|
| 47 |
+
# INNGEST_SIGNING_KEY=
|
| 48 |
+
INNGEST_BASE_URL=http://localhost:8288
|
| 49 |
+
INNGEST_DEV=1
|
| 50 |
+
|
| 51 |
+
# ββ Secrets ββ
|
| 52 |
+
JWT_SECRET=dev-jwt-secret-change-me-32-chars!!
|
| 53 |
+
PII_HASH_SALT=dev-salt-change-me
|
| 54 |
+
TOKEN_ENCRYPTION_KEY=dev-enc-key-min-32-chars!!
|
| 55 |
+
|
| 56 |
+
# ββ Observability ββ
|
| 57 |
+
# LANGFUSE_PUBLIC_KEY=
|
| 58 |
+
# LANGFUSE_SECRET_KEY=
|
| 59 |
+
|
| 60 |
+
# ββ Qdrant (Phase 2) ββ
|
| 61 |
+
# QDRANT_URL=
|
| 62 |
+
# QDRANT_API_KEY=
|
| 63 |
+
# QDRANT_COLLECTION=courtmitra_legal
|
| 64 |
+
|
| 65 |
+
# ββ Other optional keys ββ
|
| 66 |
+
# OPENAI_API_KEY=
|
| 67 |
+
# BROWSERBASE_API_KEY=
|
| 68 |
+
# BROWSERBASE_PROJECT_ID=
|
| 69 |
+
# SUREPASS_API_KEY=
|
| 70 |
+
# ENABLE_PORTAL_AUTOMATION=
|