Files
trade-message-center/.env.example
T

24 lines
869 B
Bash

# Shared environment variables for this repository.
# Copy this file to .env.local and replace local values as needed.
# Server
HOST=127.0.0.1
PORT=7878
DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/trade_message_center
# Chrome 扩展下载签名。TMC_PACKAGE_VERSION 由 workspace 命令从根 package.json 注入。
OSS_BUCKET=sinanpilot-bucket
OSS_ENDPOINT=https://oss-cn-hangzhou.aliyuncs.com
OSS_ACCESS_KEY_ID=
OSS_ACCESS_KEY_SECRET=
# Mind authorization upstream. For local `pnpm dev`, point this at the Mind HTTP mock.
MIND_AUTH_BASE_URL=https://mind.example.com
# Bright API 的 CORS 白名单
MIND_PAGE_ORIGIN=https://mind.example.com
ONETALK_PLUGIN_ORIGINS=chrome-extension://ogdbffjakeeidblabkeakakdecfbcmlf
MIND_AUTH_TIMEOUT_MS=3000
# 扩展构建时注入的 Bright WebSocket 地址
VITE_BRIGHT_WEBSOCKET_URL=ws://127.0.0.1:7878/ws/plugin