2026-07-30 21:18:39 +08:00
|
|
|
services:
|
|
|
|
|
admin-web:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
2026-08-24 14:21:43 +08:00
|
|
|
args:
|
|
|
|
|
NODE_IMAGE: "${NODE_BASE_IMAGE:-node:22-alpine}"
|
|
|
|
|
NGINX_IMAGE: "${NGINX_BASE_IMAGE:-nginx:1.27-alpine}"
|
2026-07-30 21:18:39 +08:00
|
|
|
image: admin-web-test:local
|
|
|
|
|
container_name: admin-web-test
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
2026-07-30 21:46:01 +08:00
|
|
|
- "${HOST_PORT:-9001}:80"
|
2026-07-30 21:18:39 +08:00
|
|
|
environment:
|
2026-08-27 21:48:15 +08:00
|
|
|
# The test client is exposed on the same host through port 9002. Allow
|
|
|
|
|
# deployments to override this, but never fall back to the server IP.
|
|
|
|
|
CLIENT_WEB_URL: "${CLIENT_WEB_URL:-http://test-admin.buggoglobal.com:9002}"
|
2026-08-27 10:44:12 +08:00
|
|
|
API_UPSTREAM: "http://test-api-cn.buggoglobal.com"
|
|
|
|
|
OVERSEAS_API_UPSTREAM: "http://test-api-global.buggoglobal.com"
|