mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 12:41:04 +00:00
change node version and modify docker compose
This commit is contained in:
@@ -13,9 +13,7 @@ services:
|
||||
secrets:
|
||||
- npmrc
|
||||
ports:
|
||||
- "3001:3001"
|
||||
environment:
|
||||
PORT: "3001"
|
||||
- "${FREIGHT_API_PORT:-3001}:${FREIGHT_API_PORT:-3001}"
|
||||
env_file:
|
||||
- apps/edr-freight-api/.env
|
||||
|
||||
@@ -24,9 +22,7 @@ services:
|
||||
context: .
|
||||
dockerfile: apps/edr-passenger-api/Dockerfile
|
||||
ports:
|
||||
- "4000:4000"
|
||||
environment:
|
||||
PORT: "4000"
|
||||
- "${PORT:-4000}:${PORT:-4000}"
|
||||
env_file:
|
||||
- apps/edr-passenger-api/.env
|
||||
|
||||
@@ -42,7 +38,7 @@ services:
|
||||
secrets:
|
||||
- npmrc
|
||||
ports:
|
||||
- "5173:80"
|
||||
- "${PORT:-5173}:80"
|
||||
|
||||
freight-backoffice:
|
||||
build:
|
||||
@@ -55,7 +51,7 @@ services:
|
||||
secrets:
|
||||
- npmrc
|
||||
ports:
|
||||
- "5183:80"
|
||||
- "${PORT:-5183}:80"
|
||||
|
||||
passenger-portal:
|
||||
build:
|
||||
@@ -66,7 +62,7 @@ services:
|
||||
APP_PATH: apps/edr-passenger-web/portal
|
||||
VITE_API_URL: ${PASSENGER_VITE_API_URL:-http://localhost:4000}
|
||||
ports:
|
||||
- "5174:80"
|
||||
- "${PORT:-5174}:80"
|
||||
|
||||
passenger-backoffice:
|
||||
build:
|
||||
@@ -77,7 +73,7 @@ services:
|
||||
APP_PATH: apps/edr-passenger-web/backoffice
|
||||
VITE_API_URL: ${PASSENGER_VITE_API_URL:-http://localhost:4000}
|
||||
ports:
|
||||
- "5184:80"
|
||||
- "${PORT:-5184}:80"
|
||||
|
||||
secrets:
|
||||
npmrc:
|
||||
|
||||
Reference in New Issue
Block a user