Ops: konteksty build w ops/deploy/compose.yml na ../../ (po przeniesieniu z roota budowanie na hoscie nie znajdowalo api/app/admin/web)
This commit is contained in:
@@ -11,7 +11,7 @@ name: fitos-${DEPLOY_ENV:?set DEPLOY_ENV in .env}
|
||||
|
||||
services:
|
||||
api:
|
||||
build: ../api
|
||||
build: ../../api
|
||||
container_name: fitos-api-${DEPLOY_ENV}
|
||||
ports:
|
||||
- "${API_HOST_PORT:?set API_HOST_PORT in .env}:9002"
|
||||
@@ -65,7 +65,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
app:
|
||||
build: ../app
|
||||
build: ../../app
|
||||
container_name: fitos-app-${DEPLOY_ENV}
|
||||
ports:
|
||||
- "${APP_HOST_PORT:?set APP_HOST_PORT in .env}:9001"
|
||||
@@ -74,7 +74,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
admin:
|
||||
build: ../admin
|
||||
build: ../../admin
|
||||
container_name: fitos-admin-${DEPLOY_ENV}
|
||||
ports:
|
||||
- "${ADMIN_HOST_PORT:?set ADMIN_HOST_PORT in .env}:9000"
|
||||
@@ -86,7 +86,7 @@ services:
|
||||
# build-argami: wskazują na porty hosta app/admin dla danego środowiska.
|
||||
web:
|
||||
build:
|
||||
context: ../web
|
||||
context: ../../web
|
||||
args:
|
||||
APP_PORT: ${APP_HOST_PORT:?set APP_HOST_PORT in .env}
|
||||
ADMIN_PORT: ${ADMIN_HOST_PORT:?set ADMIN_HOST_PORT in .env}
|
||||
|
||||
Reference in New Issue
Block a user