Files
client-web/docker-compose.test.yml
T

18 lines
565 B
YAML
Raw Normal View History

2026-07-30 21:52:18 +08:00
services:
client-web:
build:
context: .
dockerfile: Dockerfile
2026-08-08 10:14:07 +08:00
args:
VITE_ADMIN_WEB_ORIGIN: "${VITE_ADMIN_WEB_ORIGIN:-http://8.163.30.128:9001}"
2026-07-30 21:52:18 +08:00
image: client-web-test:local
container_name: client-web-test
restart: unless-stopped
ports:
- "${HOST_PORT:-9002}:80"
2026-07-30 23:26:12 +08:00
extra_hosts:
- "host.docker.internal:host-gateway"
2026-07-30 21:52:18 +08:00
environment:
2026-07-30 23:26:12 +08:00
# Gateway 与前端容器在同一台测试服务器,通过宿主机内部地址访问。
API_UPSTREAM: "${API_UPSTREAM:-http://host.docker.internal:9000}"