fix: rename api service to web in all docker-compose files
- Aligns compose service name with the image name (hrynco.notification-service.web) - Rename API_PORT env var to WEB_PORT for consistency Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ services:
|
||||
environment:
|
||||
- App__ConnectionString=Host=db;Port=5432;Database=notification_service;Username=postgres;Password=postgres
|
||||
|
||||
api:
|
||||
web:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- App__ConnectionString=Host=db;Port=5432;Database=notification_service;Username=postgres;Password=postgres
|
||||
|
||||
@@ -3,11 +3,11 @@ services:
|
||||
build: {}
|
||||
image: registry.grynco.com.ua/hrynco.notification-service.migrator:${MIGRATOR_IMAGE_TAG:?MIGRATOR_IMAGE_TAG is required}
|
||||
|
||||
api:
|
||||
web:
|
||||
build: {}
|
||||
image: registry.grynco.com.ua/hrynco.notification-service.web:${WEB_IMAGE_TAG:?WEB_IMAGE_TAG is required}
|
||||
ports:
|
||||
- "${API_PORT:?API_PORT is required}:8080"
|
||||
- "${WEB_PORT:?WEB_PORT is required}:8080"
|
||||
environment:
|
||||
- Serilog__WriteTo__1__Args__serverUrl=${SEQ_URL:-}
|
||||
restart: always
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- internal
|
||||
restart: "no"
|
||||
|
||||
api:
|
||||
web:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: HrynCo.NotificationService.Web/Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user