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:
@@ -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
|
||||||
VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
|
VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
|
||||||
VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com}
|
VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com}
|
||||||
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um}
|
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um}
|
||||||
secrets:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
- "${FREIGHT_PORTAL_PORT:-5173}:80"
|
- "${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
|
||||||
VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
|
VITE_API_URL: ${VITE_API_URL:-https://edrfreightapi.triaplc.com/api}
|
||||||
VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com}
|
VITE_BASE_API_URL: ${VITE_BASE_API_URL:-https://edrfreightapi.triaplc.com}
|
||||||
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um}
|
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-/_um}
|
||||||
secrets:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
- "${FREIGHT_BACKOFFICE_PORT:-5183}:80"
|
- "${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
|
||||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
|
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
|
||||||
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
|
||||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
|
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:4000}
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user