d36bfd2b97
- datalust/seq:latest (2025.x) requires mandatory auth — pin to :2024 - Add SEQ_FIRSTRUN_NOAUTHENTICATION=true to match ItemTracker pattern - Seq UI on port 5342, api/worker point to internal http://seq - Restore notification_seq volume Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
1001 B
YAML
39 lines
1001 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://seq
|
|
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://seq
|
|
|
|
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
|
|
|
|
seq:
|
|
image: datalust/seq:2024
|
|
environment:
|
|
ACCEPT_EULA: "Y"
|
|
SEQ_FIRSTRUN_NOAUTHENTICATION: "true"
|
|
ports:
|
|
- "5342:80"
|
|
volumes:
|
|
- notification_seq:/data
|
|
|
|
volumes:
|
|
notification_db:
|
|
notification_seq: |