7ee811ca8e
- Seq on 5341 conflicts with ItemTracker dev environment - Dev compose now points to host.docker.internal:5341 (shared Seq) - Removed seq service and notification_seq volume from dev compose Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
28 lines
831 B
YAML
28 lines
831 B
YAML
services:
|
|
api:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- App__ConnectionString=Host=db;Port=5432;Database=notification_service;Username=postgres;Password=postgres
|
|
- Serilog__WriteTo__1__Args__serverUrl=http://host.docker.internal:5341
|
|
ports:
|
|
- "5200:8080"
|
|
|
|
worker:
|
|
environment:
|
|
- DOTNET_ENVIRONMENT=Development
|
|
- App__ConnectionString=Host=db;Port=5432;Database=notification_service;Username=postgres;Password=postgres
|
|
- Serilog__WriteTo__1__Args__serverUrl=http://host.docker.internal:5341
|
|
|
|
db:
|
|
image: postgres:17
|
|
environment:
|
|
POSTGRES_DB: notification_service
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
ports:
|
|
- "5433:5432"
|
|
volumes:
|
|
- notification_db:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
notification_db: |