2026-07-30 21:52:18 +08:00
|
|
|
services:
|
|
|
|
|
client-web:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
2026-08-08 10:14:07 +08:00
|
|
|
args:
|
2026-08-27 21:49:18 +08:00
|
|
|
VITE_ADMIN_WEB_ORIGIN: "${VITE_ADMIN_WEB_ORIGIN:-https://test-admin.buggoglobal.com}"
|
2026-08-24 14:40:50 +08:00
|
|
|
NODE_IMAGE: "${NODE_BASE_IMAGE:-node:22-alpine}"
|
|
|
|
|
NGINX_IMAGE: "${NGINX_BASE_IMAGE:-nginx:1.27-alpine}"
|
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-09-17 16:31:05 +08:00
|
|
|
extra_hosts:
|
|
|
|
|
- "host.docker.internal:host-gateway"
|
2026-07-30 21:52:18 +08:00
|
|
|
environment:
|
2026-09-17 16:31:05 +08:00
|
|
|
API_UPSTREAM: "${API_UPSTREAM:-http://host.docker.internal:9000}"
|
|
|
|
|
OVERSEAS_API_UPSTREAM: "${OVERSEAS_API_UPSTREAM:-http://host.docker.internal:9300}"
|