forked from 91zgaoge/StoryForge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (30 loc) · 1.01 KB
/
Copy path.env.example
File metadata and controls
37 lines (30 loc) · 1.01 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
# StoryForge Server 环境变量配置
# 复制此文件为 .env 并填写真实值
# ============================================
# 数据库配置 (必需)
# ============================================
POSTGRES_USER=storyforge
POSTGRES_PASSWORD=your-secure-password-here
POSTGRES_DB=storyforge
# ============================================
# 服务端配置 (必需)
# ============================================
# JWT 签名密钥(生产环境务必修改)
JWT_SECRET=your-super-secret-jwt-key-min-32-chars
# 前端URL(用于CORS)
FRONTEND_URL=http://localhost
# ============================================
# OAuth 配置 (至少配置一个)
# ============================================
# Google OAuth: https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# GitHub OAuth: https://github.com/settings/developers
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# 微信开放平台 (预留)
WECHAT_CLIENT_ID=
WECHAT_CLIENT_SECRET=
# QQ 互联 (预留)
QQ_CLIENT_ID=
QQ_CLIENT_SECRET=