From 44412c0cbad651e74571bf15984447a533566fe1 Mon Sep 17 00:00:00 2001 From: Sergey Karmanov Date: Wed, 6 May 2026 16:53:39 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B5=D0=BA=20=D0=BF=D1=80=D0=B8=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/UniVerse.Api/appsettings.json | 14 ++------------ backend/docker-compose-prod.yml | 2 +- backend/docker-compose-test.yml | 2 +- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/backend/UniVerse.Api/appsettings.json b/backend/UniVerse.Api/appsettings.json index 461626d..0844925 100644 --- a/backend/UniVerse.Api/appsettings.json +++ b/backend/UniVerse.Api/appsettings.json @@ -7,16 +7,6 @@ } }, "AllowedHosts": "*", - "ConnectionStrings": { - "DefaultConnection": "Host=localhost;Port=5432;Database=universe;Username=postgres;Password=postgres" - }, - "Jwt": { - "Secret": "default-dev-secret-key-change-in-production-32chars!!", - "Issuer": "UniVerse", - "Audience": "UniVerse", - "AccessTokenExpirationMinutes": "30", - "RefreshTokenExpirationDays": "30" - }, "Cors": { "Origins": [ "http://localhost:5173", @@ -39,8 +29,8 @@ "MinimumLevel": { "Default": "Information", "Override": { - "Microsoft": "Warning", - "System": "Warning" + "Microsoft": "Information", + "System": "Information" } } } diff --git a/backend/docker-compose-prod.yml b/backend/docker-compose-prod.yml index e9f40dd..4f21a13 100644 --- a/backend/docker-compose-prod.yml +++ b/backend/docker-compose-prod.yml @@ -30,7 +30,7 @@ services: - ModeusApi:BaseUrl=${MODEUS_API_BASE_URL} - ModeusApi:ApiKey=${MODEUS_API_KEY} - - Gamification:XpThresholds=${GAMIFICATION_XP_THRESHOLDS:[0, 100, 300, 600, 1000, 1500, 2500, 4000]} + - Gamification:XpThresholds=${GAMIFICATION_XP_THRESHOLDS:-[0, 100, 300, 600, 1000, 1500, 2500, 4000]} - ConnectionStrings:DefaultConnection=Host=db;Port=5432;Database=${POSTGRES_DATABASE:-universe};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD} networks: diff --git a/backend/docker-compose-test.yml b/backend/docker-compose-test.yml index 86ec590..be0a72b 100644 --- a/backend/docker-compose-test.yml +++ b/backend/docker-compose-test.yml @@ -32,7 +32,7 @@ services: - ModeusApi:BaseUrl=${MODEUS_API_BASE_URL} - ModeusApi:ApiKey=${MODEUS_API_KEY} - - Gamification:XpThresholds=${GAMIFICATION_XP_THRESHOLDS:[0, 100, 300, 600, 1000, 1500, 2500, 4000]} + - Gamification:XpThresholds=${GAMIFICATION_XP_THRESHOLDS:-[0, 100, 300, 600, 1000, 1500, 2500, 4000]} - ConnectionStrings:DefaultConnection=Host=db;Port=5432;Database=${POSTGRES_DATABASE};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}