30 lines
844 B
YAML
30 lines
844 B
YAML
name: firstleg-production-pda-domestic-h5
|
|
services:
|
|
pda-domestic-h5:
|
|
build:
|
|
context: ..
|
|
dockerfile: deploy/Dockerfile.h5.production
|
|
args:
|
|
NGINX_BASE_IMAGE: "${NGINX_BASE_IMAGE:-nginx:1.27-alpine}"
|
|
image: pda-domestic-h5-prod:${IMAGE_TAG:?IMAGE_TAG is required}
|
|
container_name: pda-domestic-h5-prod
|
|
restart: unless-stopped
|
|
environment:
|
|
API_UPSTREAM: "http://gateway:9000"
|
|
ports:
|
|
- "127.0.0.1:${HOST_PORT:-29005}:80"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -qO /dev/null http://127.0.0.1/healthz && wget -qO /dev/null http://127.0.0.1/"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 12
|
|
start_period: 5s
|
|
networks:
|
|
backend:
|
|
aliases:
|
|
- pda-domestic-h5-prod
|
|
networks:
|
|
backend:
|
|
external: true
|
|
name: firstleg-production-network
|