-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
33 lines (27 loc) · 929 Bytes
/
env.example
File metadata and controls
33 lines (27 loc) · 929 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
# Web Admin 管理系统环境变量配置文件
# 复制此文件为 .env 并填入实际值
# =====================================
# 数据库配置
# =====================================
POSTGRES_DB=web_admin
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# 数据库连接 URL (后端使用)
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/web_admin
# =====================================
# JWT 认证配置
# =====================================
# JWT 密钥 (生产环境必须使用强密钥)
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# JWT 过期时间
JWT_EXPIRATION=24h
# =====================================
# 应用配置
# =====================================
# 日志级别 (trace, debug, info, warn, error)
RUST_LOG=info
# =====================================
# 开发环境特定配置
# =====================================
# 调试信息 (true/false)
DEBUG=true