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:
@@ -20,7 +20,6 @@ services:
|
|||||||
- apps/edr-freight-api/.env
|
- apps/edr-freight-api/.env
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "paymentcallback.triaplc.com:10.18.7.179"
|
- "paymentcallback.triaplc.com:10.18.7.179"
|
||||||
|
|
||||||
passenger-api:
|
passenger-api:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
@@ -31,7 +30,6 @@ services:
|
|||||||
- apps/edr-passenger-api/.env
|
- apps/edr-passenger-api/.env
|
||||||
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: .
|
||||||
@@ -39,14 +37,13 @@ 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
|
||||||
VITE_API_URL: ${VITE_API_URL:?VITE_API_URL must be set}
|
VITE_API_URL: ${VITE_API_URL:-}
|
||||||
VITE_BASE_API_URL: ${VITE_BASE_API_URL:?VITE_BASE_API_URL must be set}
|
VITE_BASE_API_URL: ${VITE_BASE_API_URL:-}
|
||||||
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:?VITE_USER_MANAGEMENT_BASE must be set}
|
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-}
|
||||||
secrets:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
- "${FREIGHT_PORTAL_PORT:-5173}:80"
|
- "${FREIGHT_PORTAL_PORT:-5173}:80"
|
||||||
|
|
||||||
freight-backoffice:
|
freight-backoffice:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
@@ -54,14 +51,13 @@ 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: ${VITE_API_URL:?VITE_API_URL must be set}
|
VITE_API_URL: ${VITE_API_URL:-}
|
||||||
VITE_BASE_API_URL: ${VITE_BASE_API_URL:?VITE_BASE_API_URL must be set}
|
VITE_BASE_API_URL: ${VITE_BASE_API_URL:-}
|
||||||
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:?VITE_USER_MANAGEMENT_BASE must be set}
|
VITE_USER_MANAGEMENT_BASE: ${VITE_USER_MANAGEMENT_BASE:-}
|
||||||
secrets:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
- "${FREIGHT_BACKOFFICE_PORT:-5183}:80"
|
- "${FREIGHT_BACKOFFICE_PORT:-5183}:80"
|
||||||
|
|
||||||
passenger-portal:
|
passenger-portal:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
@@ -69,14 +65,13 @@ 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:?NEXT_PUBLIC_API_URL must be set}
|
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-}
|
||||||
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: .
|
||||||
@@ -84,7 +79,7 @@ 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:?NEXT_PUBLIC_API_URL must be set}
|
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-}
|
||||||
secrets:
|
secrets:
|
||||||
- npmrc
|
- npmrc
|
||||||
ports:
|
ports:
|
||||||
@@ -105,7 +100,6 @@ services:
|
|||||||
- "${PAYMENT_API_PORT:-3008}:${PAYMENT_API_PORT:-3008}"
|
- "${PAYMENT_API_PORT:-3008}:${PAYMENT_API_PORT:-3008}"
|
||||||
env_file:
|
env_file:
|
||||||
- apps/edr-payment-api/.env
|
- apps/edr-payment-api/.env
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
npmrc:
|
npmrc:
|
||||||
file: .npmrc
|
file: .npmrc
|
||||||
|
|||||||
Reference in New Issue
Block a user