change node version and modify docker compose

This commit is contained in:
SennayT
2026-05-28 14:03:49 +03:00
parent e7bb4db4ce
commit af5f4cd038
4 changed files with 21 additions and 13 deletions

View File

@@ -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: