Add restart policy to ema-portal and ema-backoffice

This commit is contained in:
Yonas Tewabe
2026-08-13 09:22:31 +03:00
committed by GitHub
parent 883b5aef8b
commit a7e74cb7bd

View File

@@ -3,25 +3,27 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
target: portal target: portal
secrets: secrets:
- npmrc - npmrc
ports: ports:
- "${EMA_PORTAL_PORT:-8021}:80" - "${EMA_PORTAL_PORT:-8021}:80"
env_file: env_file:
- apps/portal/.env - apps/portal/.env
restart: always
ema-backoffice: ema-backoffice:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
target: backoffice target: backoffice
secrets: secrets:
- npmrc - npmrc
ports: ports:
- "${EMA_BACKOFFICE_PORT:-8022}:80" - "${EMA_BACKOFFICE_PORT:-8022}:80"
env_file: env_file:
- apps/backoffice/.env - apps/backoffice/.env
restart: always
secrets: secrets:
npmrc: npmrc: