mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
modify nextjs deployment
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user