mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Update docker-compose.yaml
This commit is contained in:
@@ -4,12 +4,10 @@
|
|||||||
#
|
#
|
||||||
# Build: DOCKER_BUILDKIT=1 docker compose build
|
# Build: DOCKER_BUILDKIT=1 docker compose build
|
||||||
# Run: docker compose up -d
|
# Run: docker compose up -d
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# Message broker for payment event delivery (payment-api -> passenger/freight).
|
# Message broker for payment event delivery (payment-api -> passenger/freight).
|
||||||
# Management UI: http://localhost:15672 (login edr / edr_secret). vhost: payment.
|
# 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.
|
# In deployed envs this is a shared/managed RabbitMQ; only PAYMENT_RABBITMQ_URL changes.
|
||||||
|
|
||||||
freight-api:
|
freight-api:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
@@ -41,8 +39,8 @@ services:
|
|||||||
args:
|
args:
|
||||||
TURBO_FILTER: "@edr/freight-portal"
|
TURBO_FILTER: "@edr/freight-portal"
|
||||||
APP_PATH: apps/edr-freight-web/portal
|
APP_PATH: apps/edr-freight-web/portal
|
||||||
# Browser-reachable URL; override for production deployments
|
env_file:
|
||||||
VITE_API_URL: ${FREIGHT_VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
|
- apps/edr-freight-web/portal/.env
|
||||||
secrets:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
@@ -55,7 +53,8 @@ services:
|
|||||||
args:
|
args:
|
||||||
TURBO_FILTER: "@edr/freight-backoffice"
|
TURBO_FILTER: "@edr/freight-backoffice"
|
||||||
APP_PATH: apps/edr-freight-web/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:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
@@ -68,7 +67,8 @@ services:
|
|||||||
args:
|
args:
|
||||||
APP_PACKAGE: "@edr/passenger-portal"
|
APP_PACKAGE: "@edr/passenger-portal"
|
||||||
APP_PATH: apps/edr-passenger-web/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:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
@@ -83,7 +83,8 @@ services:
|
|||||||
args:
|
args:
|
||||||
APP_PACKAGE: "@edr/passenger-backoffice"
|
APP_PACKAGE: "@edr/passenger-backoffice"
|
||||||
APP_PATH: apps/edr-passenger-web/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:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user