From 0591bfd92337d415ca2a13fa726157e6345d8514 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:31:47 +0500 Subject: [PATCH] + --- .gitea/workflows/test.yaml | 1 + DD.Persistence.App/appsettings.Tests.json | 2 +- DD.Persistence.App/appsettings.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index a6b89a0..b61ecf8 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -14,6 +14,7 @@ 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 a6c0bae..5bd5c2e 100644 --- a/DD.Persistence.App/appsettings.Tests.json +++ b/DD.Persistence.App/appsettings.Tests.json @@ -1,6 +1,6 @@ { "DbConnection": { - "Host": "127.0.0.1", + "Host": "postgres", "Port": 5442, "Username": "postgres", "Password": "postgres" diff --git a/DD.Persistence.App/appsettings.json b/DD.Persistence.App/appsettings.json index c1fdf2b..b76f037 100644 --- a/DD.Persistence.App/appsettings.json +++ b/DD.Persistence.App/appsettings.json @@ -6,7 +6,7 @@ } }, "ConnectionStrings": { - "DefaultConnection": "Host=127.0.0.1;Port=5442;Database=persistence;Username=postgres;Password=postgres;Persist Security Info=True" + "DefaultConnection": "Host=postgres;Port=5442;Database=persistence;Username=postgres;Password=postgres;Persist Security Info=True" }, "AllowedHosts": "*", "NeedUseKeyCloak": false,