Update docker-compose.yml

This commit is contained in:
Yonas Tewabe
2026-06-08 11:32:05 +03:00
committed by GitHub
parent 227c874968
commit b873b1c99b

View File

@@ -1,19 +1,26 @@
version: "3.9"
services:
portal:
ema-portal:
build:
context: .
dockerfile: Dockerfile
target: portal
secrets:
- npmrc
ports:
- "${PORTAL_PORT:-4200}:80"
env_file: .env
- "${EMA_PORTAL_PORT:-8006}:80"
env_file:
- apps/portal/.env
backoffice:
ema-backoffice:
build:
context: .
dockerfile: Dockerfile
target: backoffice
secrets:
- npmrc
ports:
- "${BACKOFFICE_PORT:-4201}:80"
env_file: .env
- "${EMA_BACKOFFICE_PORT:-8007}:80"
env_file:
- apps/backoffice/.env
secrets:
npmrc:
file: .npmrc