diff --git a/docker-compose.yaml b/docker-compose.yaml index d8badcd1d..a045125bb 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -32,65 +32,65 @@ services: extra_hosts: - "paymentcallback.triaplc.com:10.18.7.179" -freight-portal: - build: - context: . - dockerfile: infrastructure/docker/Dockerfile.web - args: - TURBO_FILTER: "@edr/freight-portal" - APP_PATH: apps/edr-freight-web/portal - VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api} - VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com} - VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um} - secrets: - - npmrc - ports: - - "${FREIGHT_PORTAL_PORT:-5173}:80" - -freight-backoffice: - build: - context: . - dockerfile: infrastructure/docker/Dockerfile.web - args: - TURBO_FILTER: "@edr/freight-backoffice" - APP_PATH: apps/edr-freight-web/backoffice - VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api} - VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com} - VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um} - secrets: - - npmrc - ports: - - "${FREIGHT_BACKOFFICE_PORT:-5183}:80" - -passenger-portal: - build: - context: . - dockerfile: infrastructure/docker/Dockerfile.passenger-web - args: - APP_PACKAGE: "@edr/passenger-portal" - APP_PATH: apps/edr-passenger-web/portal - NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000} - secrets: - - npmrc - ports: - - "${PASSENGER_PORTAL_PORT:-5174}:${PASSENGER_PORTAL_PORT:-5174}" - env_file: - - apps/edr-passenger-web/portal/.env - -passenger-backoffice: - build: - context: . - dockerfile: infrastructure/docker/Dockerfile.passenger-web - args: - APP_PACKAGE: "@edr/passenger-backoffice" - APP_PATH: apps/edr-passenger-web/backoffice - NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000} - secrets: - - npmrc - ports: - - "${PASSENGER_BACKOFFICE_PORT:-5184}:${PASSENGER_BACKOFFICE_PORT:-5184}" - env_file: - - apps/edr-passenger-web/backoffice/.env + freight-portal: + build: + context: . + dockerfile: infrastructure/docker/Dockerfile.web + args: + TURBO_FILTER: "@edr/freight-portal" + APP_PATH: apps/edr-freight-web/portal + VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api} + VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com} + VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um} + secrets: + - npmrc + ports: + - "${FREIGHT_PORTAL_PORT:-5173}:80" + + freight-backoffice: + build: + context: . + dockerfile: infrastructure/docker/Dockerfile.web + args: + TURBO_FILTER: "@edr/freight-backoffice" + APP_PATH: apps/edr-freight-web/backoffice + VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api} + VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com} + VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um} + secrets: + - npmrc + ports: + - "${FREIGHT_BACKOFFICE_PORT:-5183}:80" + + passenger-portal: + build: + context: . + dockerfile: infrastructure/docker/Dockerfile.passenger-web + args: + APP_PACKAGE: "@edr/passenger-portal" + APP_PATH: apps/edr-passenger-web/portal + NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000} + secrets: + - npmrc + ports: + - "${PASSENGER_PORTAL_PORT:-5174}:${PASSENGER_PORTAL_PORT:-5174}" + env_file: + - apps/edr-passenger-web/portal/.env + + passenger-backoffice: + build: + context: . + dockerfile: infrastructure/docker/Dockerfile.passenger-web + args: + APP_PACKAGE: "@edr/passenger-backoffice" + APP_PATH: apps/edr-passenger-web/backoffice + NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000} + secrets: + - npmrc + ports: + - "${PASSENGER_BACKOFFICE_PORT:-5184}:${PASSENGER_BACKOFFICE_PORT:-5184}" + env_file: + - apps/edr-passenger-web/backoffice/.env payment-api: build: