mirror of
https://github.com/sinanyuntu/trade-message-center.git
synced 2026-09-17 13:22:11 +08:00
29 lines
1.2 KiB
Bash
29 lines
1.2 KiB
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. When manually running mind-test-harness, point this at its mock.
|
|
MIND_AUTH_BASE_URL=https://mind.example.com
|
|
# Bright API 的 CORS 白名单;本地联调页默认运行在 http://127.0.0.1:8788。
|
|
MIND_PAGE_ORIGIN=https://mind.example.com
|
|
ONETALK_PLUGIN_ORIGINS=chrome-extension://ogdbffjakeeidblabkeakakdecfbcmlf
|
|
MIND_AUTH_TIMEOUT_MS=3000
|
|
|
|
# mind-test-harness 的独立联调页目标。该包只供顺道手工测试,不参与根 dev、质量门禁、build 或生产镜像。
|
|
MIND_TEST_HARNESS_HOST=127.0.0.1
|
|
MIND_TEST_HARNESS_PORT=8788
|
|
MIND_TEST_HARNESS_BRIGHT_BASE_URL=http://127.0.0.1:7878
|
|
|
|
# 扩展构建时注入的 Bright WebSocket 地址
|
|
VITE_BRIGHT_WEBSOCKET_URL=ws://127.0.0.1:7878/ws/plugin
|