优化
This commit is contained in:
@@ -11,12 +11,7 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${HOST_PORT:-9001}:80"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
environment:
|
||||
CLIENT_WEB_URL: "${CLIENT_WEB_URL:-http://8.163.30.128:9002}"
|
||||
# Gateway 与前端容器在同一台测试服务器,通过宿主机内部地址访问。
|
||||
# 测试环境固定走 Docker 宿主机网关,避免 Jenkins 全局环境变量或
|
||||
# 工作区残留配置把上游覆盖成公网 IP,造成容器回连公网端口失败。
|
||||
API_UPSTREAM: "http://host.docker.internal:9000"
|
||||
OVERSEAS_API_UPSTREAM: "http://host.docker.internal:9300"
|
||||
CLIENT_WEB_URL: "${CLIENT_WEB_URL:-}"
|
||||
API_UPSTREAM: "http://test-api-cn.buggoglobal.com"
|
||||
OVERSEAS_API_UPSTREAM: "http://test-api-global.buggoglobal.com"
|
||||
|
||||
Reference in New Issue
Block a user