fix: настроек приложения
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 4s
🚀 Create and publish a Docker image / Build & publish backend image (push) Successful in 1m12s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Successful in 2s

This commit is contained in:
2026-05-06 16:53:39 +03:00
parent 7c18dbc014
commit 44412c0cba
3 changed files with 4 additions and 14 deletions
+2 -12
View File
@@ -7,16 +7,6 @@
} }
}, },
"AllowedHosts": "*", "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": { "Cors": {
"Origins": [ "Origins": [
"http://localhost:5173", "http://localhost:5173",
@@ -39,8 +29,8 @@
"MinimumLevel": { "MinimumLevel": {
"Default": "Information", "Default": "Information",
"Override": { "Override": {
"Microsoft": "Warning", "Microsoft": "Information",
"System": "Warning" "System": "Information"
} }
} }
} }
+1 -1
View File
@@ -30,7 +30,7 @@ services:
- ModeusApi:BaseUrl=${MODEUS_API_BASE_URL} - ModeusApi:BaseUrl=${MODEUS_API_BASE_URL}
- ModeusApi:ApiKey=${MODEUS_API_KEY} - 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} - ConnectionStrings:DefaultConnection=Host=db;Port=5432;Database=${POSTGRES_DATABASE:-universe};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}
networks: networks:
+1 -1
View File
@@ -32,7 +32,7 @@ services:
- ModeusApi:BaseUrl=${MODEUS_API_BASE_URL} - ModeusApi:BaseUrl=${MODEUS_API_BASE_URL}
- ModeusApi:ApiKey=${MODEUS_API_KEY} - 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} - ConnectionStrings:DefaultConnection=Host=db;Port=5432;Database=${POSTGRES_DATABASE};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}