From b9285c912fd55f95c2745118ef53c8759c598137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D1=8F=20=D0=91=D0=B8=D0=B7=D1=8E=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0?= Date: Tue, 17 Dec 2024 15:15:12 +0500 Subject: [PATCH] - --- .gitea/workflows/test.yaml | 1 - DD.Persistence.App/appsettings.Tests.json | 2 +- DD.Persistence.App/appsettings.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index b61ecf8..a6b89a0 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -14,7 +14,6 @@ jobs: image: postgres # Provide the password for postgres env: - POSTGRES_HOST: postgres POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres # Set health checks to wait until postgres has started diff --git a/DD.Persistence.App/appsettings.Tests.json b/DD.Persistence.App/appsettings.Tests.json index 5bd5c2e..a6c0bae 100644 --- a/DD.Persistence.App/appsettings.Tests.json +++ b/DD.Persistence.App/appsettings.Tests.json @@ -1,6 +1,6 @@ { "DbConnection": { - "Host": "postgres", + "Host": "127.0.0.1", "Port": 5442, "Username": "postgres", "Password": "postgres" diff --git a/DD.Persistence.App/appsettings.json b/DD.Persistence.App/appsettings.json index 3747a25..ea1ac73 100644 --- a/DD.Persistence.App/appsettings.json +++ b/DD.Persistence.App/appsettings.json @@ -6,7 +6,7 @@ } }, "ConnectionStrings": { - "DefaultConnection": "Host=postgres;Database=persistence;Username=postgres;Password=postgres;Persist Security Info=True" + "DefaultConnection": "Host=127.0.0.1;Port=5432;Database=persistence;Username=postgres;Password=postgres;Persist Security Info=True" }, "AllowedHosts": "*", "NeedUseKeyCloak": false,