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

22 lines
810 B
YAML
Raw Normal View History

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}"
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-09-17 16:31:01 +08:00
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
2026-08-31 10:17:06 +08:00
# Runtime URL used by the secure customer-workbench handoff. Each
# environment may override it without rebuilding the Admin image.
CLIENT_WEB_URL: "${CLIENT_WEB_URL:-https://test-app.buggoglobal.com/}"
2026-09-17 16:31:01 +08:00
API_UPSTREAM: "${API_UPSTREAM:-http://host.docker.internal:9000}"
OVERSEAS_API_UPSTREAM: "${OVERSEAS_API_UPSTREAM:-http://host.docker.internal:9300}"