21 lines
602 B
Bash
21 lines
602 B
Bash
# ===== 必填 =====
|
||
# 管理员账号(首次启动自动创建)
|
||
ADMIN_EMAIL=admin@smartup.local
|
||
ADMIN_PASSWORD=replace-with-a-strong-password
|
||
|
||
# ===== 推荐配置 =====
|
||
# JWT 签名密钥: openssl rand -hex 32
|
||
JWT_SECRET=replace-with-openssl-rand-hex-32
|
||
# 允许访问 API 的前端源,多个用逗号分隔
|
||
CORS_ORIGINS=http://localhost:8899,http://127.0.0.1:8899
|
||
|
||
# ===== 可选 =====
|
||
# 监听端口(默认 8899)
|
||
SERVER_PORT=8899
|
||
# 绑定地址(默认 0.0.0.0)
|
||
BIND_HOST=0.0.0.0
|
||
# 时区
|
||
TZ=Asia/Shanghai
|
||
# 连续失败多少次判定为 unhealthy(默认 3)
|
||
UNHEALTHY_THRESHOLD=3
|