Files
client-web/docker-compose.production.yml
T

23 lines
629 B
YAML
Raw Normal View History

name: firstleg-prod-client-web
services:
client-web:
image: "${PRODUCTION_IMAGE_REPOSITORY:?PRODUCTION_IMAGE_REPOSITORY is required}:${IMAGE_TAG:?IMAGE_TAG is required}"
container_name: firstleg-prod-client-web
restart: unless-stopped
ports:
- "127.0.0.1:${HOST_PORT:-29012}:80"
environment:
API_UPSTREAM: "http://gateway:9000"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1/healthz"]
interval: 5s
timeout: 3s
retries: 12
start_period: 5s
networks:
- backend
networks:
backend:
external: true
name: firstleg-production-network