-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevelopment-env
More file actions
76 lines (61 loc) · 1.62 KB
/
development-env
File metadata and controls
76 lines (61 loc) · 1.62 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
74
75
76
# VRecommendation Development Environment Configuration
# Application Environment
STATUS_DEV=dev
NODE_ENV=development
# JWT Authentication
JWT_SECRET_KEY=dev-jwt-secret-key-change-in-production-12345
SESSION_SECRET=dev-session-secret-key-change-in-production-67890
# 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
VITE_API_SERVER_URL=http://localhost:2030
VITE_AI_SERVER_URL=http://localhost:9999
# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# 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
# Prometheus Configuration
PROMETHEUS_PORT=9090
# CORS Configuration
CORS_ORIGINS=http://localhost:5173,http://localhost:3000,http://127.0.0.1:5173
CORS_CREDENTIALS=true
CORS_METHODS=GET,POST,PUT,DELETE,OPTIONS
CORS_HEADERS=Origin,Content-Type,Accept,Authorization,X-Request-With
# Logging
LOG_LEVEL=debug
LOG_FORMAT=json
# OAuth (if used)
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
# Security
BCRYPT_ROUNDS=12
TOKEN_EXPIRY=24h
REFRESH_TOKEN_EXPIRY=7d
# File Upload
MAX_FILE_SIZE=10MB
UPLOAD_DIR=uploads
# Email (if used)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_PASSWORD=your-app-password