forked from jyutjyucom/Jyutjyu
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
28 lines (24 loc) · 1.01 KB
/
env.example
File metadata and controls
28 lines (24 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
# ====================================
# 粤语辞丛 环境变量配置
# ====================================
# -----------------------------------
# 数据存储模式
# -----------------------------------
# true = 使用 MongoDB API(推荐生产环境)
# false = 使用静态 JSON 文件(默认,适合开发测试)
NUXT_PUBLIC_USE_API=false
# -----------------------------------
# MongoDB 配置(仅当 NUXT_PUBLIC_USE_API=true 时需要)
# -----------------------------------
# 从 MongoDB Atlas 获取连接字符串:
# https://cloud.mongodb.com/ → Database → Connect → Drivers
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/?retryWrites=true&w=majority
# 数据库名称
MONGODB_DB_NAME=Jyutjyu
# -----------------------------------
# GitHub Issue 反馈(服务端创建 Issue)
# -----------------------------------
# 仓库(owner/repo 格式),例如:jyutjyucom/jyutjyu
GITHUB_REPO=
# GitHub Personal Access Token,最小权限 public_repo(私库需 repo)
GITHUB_TOKEN=