Files
hrynco-notification-service/docker/environments/docker-compose.yml
T
Anatolii Grynchuk d23717d123 fix: move api port mapping to dev override, fix Web Dockerfile project name
- Base compose has no ports (env overrides define them)
- Dev override maps api to 5200:8080
- Web Dockerfile updated to reference .Web project name

Ref: IT-628

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-02 02:27:51 +03:00

37 lines
941 B
YAML

services:
migrator:
build:
context: ../..
dockerfile: HrynCo.NotificationService.Migrator/Dockerfile
environment:
- App__ConnectionString=${CONNECTION_STRING}
depends_on:
db:
condition: service_started
restart: "no"
api:
build:
context: ../..
dockerfile: HrynCo.NotificationService.Web/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Production
- App__ConnectionString=${CONNECTION_STRING}
depends_on:
db:
condition: service_started
migrator:
condition: service_completed_successfully
worker:
build:
context: ../..
dockerfile: HrynCo.NotificationService.Worker/Dockerfile
environment:
- DOTNET_ENVIRONMENT=Production
- App__ConnectionString=${CONNECTION_STRING}
depends_on:
db:
condition: service_started
migrator:
condition: service_completed_successfully