Files
admin-web/docker-compose.test.yml
T
2026-08-27 21:48:15 +08:00

20 lines
728 B
YAML

services:
admin-web:
build:
context: .
dockerfile: Dockerfile
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:
- "${HOST_PORT:-9001}:80"
environment:
# 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}"
API_UPSTREAM: "http://test-api-cn.buggoglobal.com"
OVERSEAS_API_UPSTREAM: "http://test-api-global.buggoglobal.com"