Update docker-compose.yaml

This commit is contained in:
Yonas Tewabe
2026-06-25 11:22:56 +03:00
committed by GitHub
parent 1ff304611a
commit 1c841f549f

View File

@@ -32,65 +32,65 @@ services:
extra_hosts: extra_hosts:
- "paymentcallback.triaplc.com:10.18.7.179" - "paymentcallback.triaplc.com:10.18.7.179"
freight-portal: freight-portal:
build: build:
context: . context: .
dockerfile: infrastructure/docker/Dockerfile.web dockerfile: infrastructure/docker/Dockerfile.web
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
env_file: VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
- apps/edr-freight-web/portal/.env VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com}
secrets: VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um}
- npmrc secrets:
ports: - npmrc
- "${FREIGHT_PORTAL_PORT:-5173}:80" ports:
- "${FREIGHT_PORTAL_PORT:-5173}:80"
freight-backoffice: freight-backoffice:
build: build:
context: . context: .
dockerfile: infrastructure/docker/Dockerfile.web dockerfile: infrastructure/docker/Dockerfile.web
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
env_file: VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
- apps/edr-freight-web/backoffice/.env VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com}
secrets: VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um}
- npmrc secrets:
ports: - npmrc
- "${FREIGHT_BACKOFFICE_PORT:-5183}:80" ports:
- "${FREIGHT_BACKOFFICE_PORT:-5183}:80"
passenger-portal: passenger-portal:
build: build:
context: . context: .
dockerfile: infrastructure/docker/Dockerfile.passenger-web dockerfile: infrastructure/docker/Dockerfile.passenger-web
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
env_file: NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
- apps/edr-passenger-web/portal/.env secrets:
secrets: - npmrc
- npmrc ports:
ports: - "${PASSENGER_PORTAL_PORT:-5174}:${PASSENGER_PORTAL_PORT:-5174}"
- "${PASSENGER_PORTAL_PORT:-5174}:${PASSENGER_PORTAL_PORT:-5174}" env_file:
env_file: - apps/edr-passenger-web/portal/.env
- apps/edr-passenger-web/portal/.env
passenger-backoffice: passenger-backoffice:
build: build:
context: . context: .
dockerfile: infrastructure/docker/Dockerfile.passenger-web dockerfile: infrastructure/docker/Dockerfile.passenger-web
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
env_file: NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
- apps/edr-passenger-web/backoffice/.env secrets:
secrets: - npmrc
- npmrc ports:
ports: - "${PASSENGER_BACKOFFICE_PORT:-5184}:${PASSENGER_BACKOFFICE_PORT:-5184}"
- "${PASSENGER_BACKOFFICE_PORT:-5184}:${PASSENGER_BACKOFFICE_PORT:-5184}" env_file:
env_file: - apps/edr-passenger-web/backoffice/.env
- apps/edr-passenger-web/backoffice/.env
payment-api: payment-api:
build: build: