-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.backup
More file actions
73 lines (60 loc) · 1.66 KB
/
.env.backup
File metadata and controls
73 lines (60 loc) · 1.66 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
65
66
67
68
69
70
71
72
73
# Environment
STATUS_DEV=dev
# API Server Configuration
API_SERVER_HOST=0.0.0.0
API_SERVER_PORT=2030
API_SERVER_READ_TIMEOUT=60
# AI Server Configuration
AI_SERVER_HOST=0.0.0.0
AI_SERVER_PORT=9999
# Frontend Configuration
FRONTEND_PORT=5173
# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
REDIS_SSL=false
REDIS_MAX_RETRIES=3
REDIS_POOL_SIZE=10
REDIS_MIN_IDLE_CONNS=5
# Database Configuration (MySQL)
MYSQL_HOST=mysql
MYSQL_PORT=3306
MYSQL_USER=admin
MYSQL_PASSWORD=pokiwar0981
MYSQL_DATABASE=shop
# Database Configuration (MongoDB)
MONGODB_HOST=mongodb
MONGODB_PORT=27017
MONGODB_USERNAME=root
MONGODB_PASSWORD=password
MONGODB_AUTH_SOURCE=admin
# Prometheus Configuration
PROMETHEUS_PORT=9090
# JWT Configuration
JWT_SECRET_KEY=your_secret
JWT_EXPIRE_MINS=15
JWT_REFRESH_KEY=refresh_secret
JWT_REFRESH_EXPIRE_HOURS=720
# ==========================================
# Admin Portal Configuration
# ==========================================
# Note: Admin Portal runs separately, not in Docker
# It ONLY binds to localhost for security
ADMIN_PORTAL_PORT=3456
API_SERVER_URL=http://localhost:2030
# API URLs for frontend (Docker internal network)
VITE_API_SERVER_URL=http://api_server:2030
VITE_AI_SERVER_URL=http://ai_server:9999
# ==========================================
# Google OAuth Configuration
# ==========================================
# Get these from Google Cloud Console
# GOOGLE_CLIENT_ID=your-client-id
# GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_CALLBACK_URL=http://localhost:2030/api/v1/auth/google/callback
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=..
# Public callback URL for LAN/ngrok access
GOOGLE_CALLBACK_URL_PUBLIC=..