-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (22 loc) · 1.73 KB
/
.env.example
File metadata and controls
28 lines (22 loc) · 1.73 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
# ── 数据库 ────────────────────────────────────────────────────────────────────
POSTGRES_PASSWORD=lyranote
# ── MinIO 对象存储 ─────────────────────────────────────────────────────────────
MINIO_ROOT_USER=lyranote
MINIO_ROOT_PASSWORD=lyranote123
# ── 对外域名(替换为真实域名)─────────────────────────────────────────────────
APP_BASE_URL=https://your-domain.com
FRONTEND_URL=https://your-domain.com
CORS_ORIGINS=https://your-domain.com
# ── JWT 鉴权(生成命令: openssl rand -hex 32)─────────────────────────────────
JWT_SECRET=
JWT_EXPIRE_DAYS=30
# ── OAuth — Google(可选)─────────────────────────────────────────────────────
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# ── OAuth — GitHub(可选)─────────────────────────────────────────────────────
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# ── 应用配置 ───────────────────────────────────────────────────────────────────
API_PREFIX=/api/v1
MEMORY_MODE=server
DEBUG=false