Files
sendico/ci/prod/compose/frontend.yml
Stephan D c8579a14f3
Some checks failed
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline failed
ci/woodpecker/push/frontend Pipeline failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline failed
ci/woodpecker/push/fx_oracle Pipeline failed
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/ledger Pipeline failed
ci/woodpecker/push/notification Pipeline failed
ci/woodpecker/push/payments_orchestrator Pipeline failed
ci/woodpecker/push/bump_version unknown status
Caddy reconfigured
2025-11-18 02:56:57 +01:00

42 lines
1.1 KiB
YAML

# Compose v2 - Frontend web client
x-common-env: &common-env
env_file:
- ../env/.env.runtime
- ../env/.env.version
networks:
sendico-net:
external: true
name: sendico-net
services:
sendico_frontend:
<<: *common-env
container_name: sendico-frontend
restart: unless-stopped
image: ${REGISTRY_URL}/frontend/service:${APP_V}
pull_policy: always
environment:
WS_PROTOCOL: ${WS_PROTOCOL}
WS_ENDPOINT: ${WS_ENDPOINT}
API_PROTOCOL: ${API_PROTOCOL}
SERVICE_HOST: ${SERVICE_HOST}
API_ENDPOINT: ${API_ENDPOINT}
API_UPSTREAM: ${API_UPSTREAM}
AMPLITUDE_SECRET: ${AMPLITUDE_SECRET}
DEFAULT_LOCALE: ${DEFAULT_LOCALE}
DEFAULT_CURRENCY: ${DEFAULT_CURRENCY}
CADDY_ACME_EMAIL: ${CADDY_ACME_EMAIL}
ports:
- "0.0.0.0:${FRONTEND_HTTP_PORT}:80"
- "0.0.0.0:${FRONTEND_HTTPS_PORT}:443"
healthcheck:
test: ["CMD-SHELL","curl -sf http://localhost:80/ >/dev/null"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
- sendico-net