-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.prod.example
More file actions
42 lines (35 loc) · 978 Bytes
/
.env.prod.example
File metadata and controls
42 lines (35 loc) · 978 Bytes
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
# =============================================================
# Leverage Backend — Production Environment Variables
# Copy to .env.prod and fill in real values before deploying
# =============================================================
# Database
DB_HOST=db
DB_PORT=3306
DB_NAME=leverage
DB_USER=leverage
DB_PASSWORD=CHANGE_ME
DB_ROOT_PASSWORD=CHANGE_ME
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=CHANGE_ME
# JWT
JWT_SECRET=CHANGE_ME_USE_A_LONG_RANDOM_STRING
JWT_EXPIRES_IN=7d
# App
BASE_URL=https://YOUR_DOMAIN
NODE_ENV=production
# Ports (override defaults if needed)
BACKEND_PORT=3000
FRONTEND_PORT=3001
BOTZONE_PORT=3002
# Botzone integration
BOTZONE_BASE_URL=http://botzone:3002
BOTZONE_ENABLED=true
BOTZONE_CALLBACK_TOKEN=CHANGE_ME
# File storage (uncomment and configure for OSS)
# OSS_BUCKET=your-bucket
# OSS_REGION=ap-east-1
# OSS_ACCESS_KEY_ID=CHANGE_ME
# OSS_ACCESS_KEY_SECRET=CHANGE_ME
# OSS_ENDPOINT=https://oss-ap-east-1.aliyuncs.com