20 lines
686 B
YAML
20 lines
686 B
YAML
services:
|
|
client-web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
VITE_ADMIN_WEB_ORIGIN: "${VITE_ADMIN_WEB_ORIGIN:-https://test-admin.buggoglobal.com}"
|
|
NODE_IMAGE: "${NODE_BASE_IMAGE:-node:22-alpine}"
|
|
NGINX_IMAGE: "${NGINX_BASE_IMAGE:-nginx:1.27-alpine}"
|
|
image: client-web-test:local
|
|
container_name: client-web-test
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HOST_PORT:-9002}:80"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
API_UPSTREAM: "${API_UPSTREAM:-http://host.docker.internal:9000}"
|
|
OVERSEAS_API_UPSTREAM: "${OVERSEAS_API_UPSTREAM:-http://host.docker.internal:9300}"
|