Files

37 lines
1.5 KiB
Bash
Raw Permalink 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.
DEEPSEEK_API_KEY=sk-xxxx
# 以后若接入其他厂商,按 models.yaml 中的 api_key_env 增加对应变量,例如:
# OPENAI_API_KEY=sk-xxxx
# 阿里云百炼(万相图生图 wanx2.1-imageedit),华北2(北京)地域的 API Key
DASHSCOPE_API_KEY=sk-xxxx
# 仅业务空间调用时填写:https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1
# DASHSCOPE_BASE_HTTP_API_URL=
HOST=127.0.0.1
PORT=8800
# Comma-separated origins when frontend runs on another port. Same-origin mount can leave empty.
CORS_ORIGINS=
# ── V2:数据层 ──
# 本地过渡用 SQLite(默认);上线腾讯云切 PostgreSQL:
# DATABASE_URL=postgresql+asyncpg://user:pass@host:5432/ozon_seller
# DATABASE_URL=sqlite+aiosqlite:///./data/app.db
# ── V2:鉴权 ──
# MVP 单用户登录 tokenstudio 登录页 / 插件 options 页填同一个值),可随意生成一长串随机字符串
APP_TOKEN=change-me-to-a-long-random-token
# 店铺 Client-Id/Api-Key 的 AES-GCM 加密密钥 + JWT 签名密钥
SECRET_KEY=change-me-to-a-long-random-secret
# ── V2:七牛(图片存储)──
# 留空则用本地文件系统兜底(开发期);填了并设 STORAGE_BACKEND=qiniu 则走七牛
QINIU_ACCESS_KEY=
QINIU_SECRET_KEY=
QINIU_BUCKET=
# 必须 httpsOzon 拉取商品图片只接受 https 直链,http 会被拒绝
QINIU_DOMAIN=https://your-cdn-domain.example.com
STORAGE_BACKEND=local
# ── V2:对外地址(插件/前端回写、生成图回调)──
APP_BASE_URL=http://127.0.0.1:8800