feat(infra): api-gateway 环境变量补全 + build context 修复 + docker-compose.test 新增

This commit is contained in:
SpecialX
2026-07-14 16:04:20 +08:00
parent a70977ad4b
commit 2796d7c88f
3 changed files with 162 additions and 6 deletions

View File

@@ -32,8 +32,11 @@ ADMIN_PORTAL_PORT=4003
KAFKA_BROKERS=
# ============ push-gatewayWebSocket 推送服务)============
# /internal/push 鉴权 tokenmsg 服务调用时需携带 X-Internal-Token 头
INTERNAL_API_TOKEN=CHANGE_ME_TO_STRONG_INTERNAL_TOKEN
# /internal/push 鉴权 tokenmsg 服务调用时需携带 X-Internal-Key 头ARB-013
# PUSH_INTERNAL_TOKEN 是 v2 规范环境变量;INTERNAL_API_TOKEN 作为向后兼容别名仍被接受
PUSH_INTERNAL_TOKEN=CHANGE_ME_TO_STRONG_INTERNAL_TOKEN
# 向后兼容别名(留空则使用 PUSH_INTERNAL_TOKEN设置后会回退到此值
INTERNAL_API_TOKEN=
# WebSocket 允许的 Origin 白名单(逗号分隔)
WS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:4000,http://localhost:4001,http://localhost:4002,http://localhost:4003
# push-gateway 对外端口