-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker.example
More file actions
64 lines (50 loc) · 2.15 KB
/
.env.docker.example
File metadata and controls
64 lines (50 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# ============================================
# Protocol Guide - Docker Environment
# Copy to .env.docker and fill in your values
# Used by: docker compose (dev) and docker:prod (all-in-one)
# ============================================
# ── REQUIRED ─────────────────────────────────
# Database
# Bundled postgres (default for docker:prod):
# DATABASE_URL=postgresql://postgres:postgres@postgres:5432/protocol_guide
# Supabase Postgres (production):
# DATABASE_URL=postgresql://post.[ref]:[pwd]@aws-0-[region].pooler.supabase.com:5432/postgres
DATABASE_URL=postgresql://postgres:postgres@postgres:5432/protocol_guide
# Supabase (still needed for auth + vector search)
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=eyJ-your-anon-key
SUPABASE_SERVICE_ROLE_KEY=eyJ-your-service-role-key
# AI Services
ANTHROPIC_API_KEY=sk-ant-xxx
GOOGLE_API_KEY=your-google-api-key-here
# Stripe Payments
STRIPE_SECRET_KEY=sk_test_xxx
STRIPE_PUBLISHABLE_KEY=pk_test_xxx
STRIPE_WEBHOOK_SECRET=whsec_xxx
STRIPE_PRO_MONTHLY_PRICE_ID=price_xxx
STRIPE_PRO_ANNUAL_PRICE_ID=price_xxx
# Authentication
JWT_SECRET=generate-with-openssl-rand-base64-32-min-32-chars
NEXT_AUTH_SECRET=generate-with-openssl-rand-base64-32-min-32-chars
NEXT_AUTH_URL=http://localhost:3001
# ── OPTIONAL ─────────────────────────────────
# Server Config (defaults shown)
PORT=3001
NODE_ENV=development
# CORS (for local frontend)
CORS_ORIGINS=http://localhost:8081,http://localhost:19006
# Redis — docker-compose provides redis://redis:6379 via REDIS_URL env var.
# For Upstash HTTP (production), set these instead:
# UPSTASH_REDIS_REST_URL=https://xxx.upstash.io
# UPSTASH_REDIS_REST_TOKEN=xxx
# Stripe Department Subscriptions (optional)
# STRIPE_DEPT_STARTER_MONTHLY_PRICE_ID=price_xxx
# STRIPE_DEPT_STARTER_ANNUAL_PRICE_ID=price_xxx
# STRIPE_DEPT_PROFESSIONAL_MONTHLY_PRICE_ID=price_xxx
# STRIPE_DEPT_PROFESSIONAL_ANNUAL_PRICE_ID=price_xxx
# Sentry Error Tracking
# SENTRY_DSN=https://xxx@sentry.io/xxx
# Email (Resend)
# RESEND_API_KEY=re_xxx
# Logging
# LOG_LEVEL=debug