modify nextjs deployment

This commit is contained in:
SennayT
2026-06-05 11:28:33 +00:00
parent 04765bdd78
commit b6136b0a65
6 changed files with 144 additions and 14 deletions

View File

@@ -56,28 +56,30 @@ services:
passenger-portal:
build:
context: .
dockerfile: infrastructure/docker/Dockerfile.web
dockerfile: infrastructure/docker/Dockerfile.passenger-web
args:
TURBO_FILTER: "@edr/passenger-portal"
APP_PACKAGE: "@edr/passenger-portal"
APP_PATH: apps/edr-passenger-web/portal
NEXT_PUBLIC_API_URL: ${PASSENGER_API_URL:-http://localhost:4000}
PORT: 5174
NEXT_PUBLIC_API_URL: ${PASSENGER_NEXT_PUBLIC_API_URL:-http://localhost:4000}
secrets:
- npmrc
ports:
- "${PASSENGER_PORTAL_PORT:-5174}:80"
- "${PASSENGER_PORTAL_PORT:-5174}:5174"
passenger-backoffice:
build:
context: .
dockerfile: infrastructure/docker/Dockerfile.web
dockerfile: infrastructure/docker/Dockerfile.passenger-web
args:
TURBO_FILTER: "@edr/passenger-backoffice"
APP_PACKAGE: "@edr/passenger-backoffice"
APP_PATH: apps/edr-passenger-web/backoffice
NEXT_PUBLIC_API_URL: ${PASSENGER_API_URL:-http://localhost:4000}
PORT: 5184
NEXT_PUBLIC_API_URL: ${PASSENGER_NEXT_PUBLIC_API_URL:-http://localhost:4000}
secrets:
- npmrc
ports:
- "${PASSENGER_BACKOFFICE_PORT:-5184}:80"
- "${PASSENGER_BACKOFFICE_PORT:-5184}:5184"
secrets:
npmrc: