Update docker-compose.yaml

This commit is contained in:
Yonas Tewabe
2026-06-25 11:17:03 +03:00
committed by GitHub
parent 4e22c4372f
commit 1ff304611a

View File

@@ -4,12 +4,10 @@
#
# Build: DOCKER_BUILDKIT=1 docker compose build
# Run: docker compose up -d
services:
# Message broker for payment event delivery (payment-api -> passenger/freight).
# Management UI: http://localhost:15672 (login edr / edr_secret). vhost: payment.
# In deployed envs this is a shared/managed RabbitMQ; only PAYMENT_RABBITMQ_URL changes.
freight-api:
build:
context: .
@@ -41,8 +39,8 @@ services:
args:
TURBO_FILTER: "@edr/freight-portal"
APP_PATH: apps/edr-freight-web/portal
# Browser-reachable URL; override for production deployments
VITE_API_URL: ${FREIGHT_VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
env_file:
- apps/edr-freight-web/portal/.env
secrets:
- npmrc
ports:
@@ -55,7 +53,8 @@ services:
args:
TURBO_FILTER: "@edr/freight-backoffice"
APP_PATH: apps/edr-freight-web/backoffice
VITE_API_URL: ${FREIGHT_VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
env_file:
- apps/edr-freight-web/backoffice/.env
secrets:
- npmrc
ports:
@@ -68,7 +67,8 @@ services:
args:
APP_PACKAGE: "@edr/passenger-portal"
APP_PATH: apps/edr-passenger-web/portal
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
env_file:
- apps/edr-passenger-web/portal/.env
secrets:
- npmrc
ports:
@@ -83,7 +83,8 @@ services:
args:
APP_PACKAGE: "@edr/passenger-backoffice"
APP_PATH: apps/edr-passenger-web/backoffice
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
env_file:
- apps/edr-passenger-web/backoffice/.env
secrets:
- npmrc
ports: