Files
cuotibiye/deploy/.env.example
T

25 lines
797 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制成 .env 再改。这个文件里有密钥,别提交到仓库。
SITE_DOMAIN=workbench.example.com
# 生产开关:prod 不注册 /api/dev/* 与 /api/auth/sms-*(短信登录整条关掉)
QINGLING_ENV=prod
# 微信小程序(不填则登录走 demo 账号)
WX_APPID=
WX_SECRET=
WX_TMPL_DAILY=
WX_TMPL_EXPIRE=
# 拍照识题:腾讯云试卷切题(主链路,必配;也可以放 data/tencent.env)
TENCENT_SECRET_ID=
TENCENT_SECRET_KEY=
TENCENT_REGION=ap-guangzhou
# OCR 花钱的闸门(可不设)
# OCR_MONTHLY_LIMIT=900 # 到顶直接停,不发请求;不设=只计数不拦
# OCR_CACHE=0 # 关掉结果缓存(默认开)
# 本机 OCR 兜底(可选;Linux 上没有本机 OCR,要用就指一个 HTTP 服务)
OCR_HTTP_URL=
OCR_HTTP_KEY=