File size: 1,111 Bytes
72e7de2
2b62b0c
72e7de2
 
 
 
 
 
 
f2d1fea
14be139
 
 
f2d1fea
14be139
 
 
f2d1fea
 
72e7de2
f2d1fea
 
72e7de2
f2d1fea
72e7de2
f2d1fea
 
72e7de2
 
 
 
 
 
83e82db
 
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
# PostgreSQL connection string
# Local dev (docker-compose): postgresql://postgres:password@localhost:5432/pram
DATABASE_URL=

# Redis — required for AI generation job queue
# Local dev (docker-compose): redis://localhost:6379
REDIS_URL=redis://localhost:6379

# Auth — random strings, minimum 32 characters
BETTER_AUTH_SECRET=
# Local dev: http://localhost:3000
# Production: public URL of the API server (must match VITE_SERVER_URL on the web app)
# Example: https://api.example.com
BETTER_AUTH_URL=http://localhost:3000
# Local dev: http://localhost:3001
# Production: public URL of the web app (used for CORS + Better Auth trustedOrigins)
# Example: https://app.example.com
CORS_ORIGIN=http://localhost:3001

# Encrypts user AI API keys at rest — minimum 32 characters
API_KEY_ENCRYPTION_KEY=

# SMTP — required for email verification and password reset
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASS=
SMTP_FROM=

# Optional: platform-wide AI fallback (users normally configure keys in Settings UI)
# PLATFORM_AI_API_KEY=
# PLATFORM_AI_BASE_URL=
# PLATFORM_AI_MODEL=

CLOUDFLARE_TURNSTILE_SECRET_KEY=