-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.production.example
More file actions
45 lines (36 loc) · 1.27 KB
/
env.production.example
File metadata and controls
45 lines (36 loc) · 1.27 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
# Production Environment Configuration for Draw2StoryPlay
# Copy this to .env and fill in your actual values
# Database Configuration
DB_USER=postgres
DB_HOST=postgres
DB_NAME=Draw2PlayDB
DB_PASSWORD=your_secure_postgresql_password_here
DB_PORT=5432
# Server Configuration
PORT=3000
NODE_ENV=production
# Google OAuth Configuration
GOOGLE_CLIENT_ID=your_google_oauth_client_id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your_google_oauth_client_secret
FRONTEND_URL=https://draw2play.xyz
JWT_SECRET=your_super_secure_jwt_secret_make_it_long_and_random
GOOGLE_CALLBACK_URL=https://draw2play.xyz/auth/callback
# Stripe Configuration (Production)
STRIPE_SECRET_KEY=sk_live_your_stripe_live_secret_key
STRIPE_WEBHOOK_SECRET=whsec_your_stripe_webhook_secret
MONTHLY_PRICE_ID=price_your_monthly_price_id
# Frontend Environment Variables
VITE_API_URL=https://draw2play.xyz
VITE_STRIPE_PUBLISHABLE_KEY=pk_live_your_stripe_live_publishable_key
VITE_GOOGLE_CLIENT_ID=your_google_oauth_client_id.apps.googleusercontent.com
# File Upload Configuration
UPLOAD_PATH=./uploads
MAX_FILE_SIZE=10485760
# CORS Configuration
CORS_ORIGIN=https://draw2play.xyz
# AI Service API Keys
CO_API_KEY=your_cohere_api_key
STABILITY_API_KEY=your_stability_ai_api_key
# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379