forked from shangyankeji/super-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 984 Bytes
/
Copy path.env.example
File metadata and controls
30 lines (23 loc) · 984 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
# Super Dev - 环境变量配置模板
# 复制此文件为 .env 并填入实际值
# 注意:.env 文件不应提交到版本控制
# ==================== 应用配置 ====================
NODE_ENV=development
PORT=3000
# ==================== CORS ====================
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8080
# ==================== 数据库 ====================
DATABASE_URL=postgresql://postgres:password@localhost:5432/super_dev
# ==================== Redis ====================
REDIS_URL=redis://localhost:6379
# ==================== 认证 ====================
JWT_SECRET=your-jwt-secret-here
JWT_EXPIRES_IN=15m
REFRESH_TOKEN_EXPIRES_IN=7d
# ==================== Docker/部署 ====================
DOCKER_REGISTRY=your-registry.example.com
DOCKER_USERNAME=your-username
DOCKER_PASSWORD=your-password
# ==================== Kubernetes ====================
KUBE_NAMESPACE_DEV=super-dev-dev
KUBE_NAMESPACE_PROD=super-dev-prod