-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (48 loc) · 1.78 KB
/
Copy path.env.example
File metadata and controls
56 lines (48 loc) · 1.78 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
# ============================================
# LeetCode Dashboard - Production Environment
# ============================================
# 云服务器部署环境变量配置
# 复制此文件为 .env 并根据实际情况修改
# ============================================
# 项目配置
# ============================================
COMPOSE_PROJECT_NAME=leetcode-dashboard
ENVIRONMENT=production
# ============================================
# 镜像配置
# ============================================
# 本地构建时使用 latest 标签
# 远程部署时填写具体的镜像地址和版本
BACKEND_IMAGE=leetcode-dashboard-backend:latest
CRAWLER_IMAGE=leetcode-dashboard-crawler:latest
FRONTEND_IMAGE=leetcode-dashboard-frontend:latest
# 示例:使用阿里云镜像仓库
# BACKEND_IMAGE=registry.cn-hangzhou.aliyuncs.com/leetcode/leetcode-dashboard-backend:v1.0.0
# CRAWLER_IMAGE=registry.cn-hangzhou.aliyuncs.com/leetcode/leetcode-dashboard-crawler:v1.0.0
# FRONTEND_IMAGE=registry.cn-hangzhou.aliyuncs.com/leetcode/leetcode-dashboard-frontend:v1.0.0
# ============================================
# 端口配置
# ============================================
BACKEND_PORT=52106
FRONTEND_PORT=52107
REDIS_PORT=6379
# ============================================
# 数据存储路径
# ============================================
DATA_DIR=./data
REDIS_DATA_DIR=./redis-data
# ============================================
# 应用配置
# ============================================
LOG_LEVEL=info
BATCH_SIZE=10
INTERVAL_SEC=30
# ============================================
# 日志配置
# ============================================
LOG_MAX_SIZE=100m
LOG_MAX_FILE=3
# ============================================
# 时区配置
# ============================================
TZ=Asia/Shanghai