From 7ee811ca8e078771d7e037015daa1b218ad1eec2 Mon Sep 17 00:00:00 2001 From: Anatolii Grynchuk Date: Sat, 2 May 2026 02:28:51 +0300 Subject: [PATCH] fix: reuse host Seq instance in Development, remove local seq service - 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> --- .../environments/docker-compose.Development.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/docker/environments/docker-compose.Development.yml b/docker/environments/docker-compose.Development.yml index 86702a8..30c0516 100644 --- a/docker/environments/docker-compose.Development.yml +++ b/docker/environments/docker-compose.Development.yml @@ -3,7 +3,7 @@ services: environment: - ASPNETCORE_ENVIRONMENT=Development - App__ConnectionString=Host=db;Port=5432;Database=notification_service;Username=postgres;Password=postgres - - Serilog__WriteTo__1__Args__serverUrl=http://seq:5341 + - Serilog__WriteTo__1__Args__serverUrl=http://host.docker.internal:5341 ports: - "5200:8080" @@ -11,7 +11,7 @@ services: environment: - DOTNET_ENVIRONMENT=Development - App__ConnectionString=Host=db;Port=5432;Database=notification_service;Username=postgres;Password=postgres - - Serilog__WriteTo__1__Args__serverUrl=http://seq:5341 + - Serilog__WriteTo__1__Args__serverUrl=http://host.docker.internal:5341 db: image: postgres:17 @@ -24,16 +24,5 @@ services: volumes: - notification_db:/var/lib/postgresql/data - seq: - image: datalust/seq:latest - environment: - ACCEPT_EULA: "Y" - ports: - - "5342:80" - - "5341:5341" - volumes: - - notification_seq:/data - volumes: - notification_db: - notification_seq: \ No newline at end of file + notification_db: \ No newline at end of file