Dev #11

Merged
serega404 merged 87 commits from dev into main 2026-05-25 03:22:55 +03:00
4 changed files with 15 additions and 14 deletions
Showing only changes of commit e4d47d4dff - Show all commits
@@ -4,5 +4,15 @@
"Default": "Information",
"Microsoft.AspNetCore": "Information"
}
},
"ConnectionStrings": {
"DefaultConnection": "Host=db;Port=5444;Database=universe;Username=universe;Password=pass"
},
"Jwt": {
"Secret": "default-dev-secret-key-change-in-production-32chars!!",
"Issuer": "UniVerse",
"Audience": "UniVerse",
"AccessTokenExpirationMinutes": "30",
"RefreshTokenExpirationDays": "30"
}
}
+2 -12
View File
@@ -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"
}
}
}
+1 -1
View File
@@ -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:
+2 -1
View File
@@ -8,6 +8,7 @@ services:
ports:
- "8088:8080"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
- AzureAd:Instance=${AzureAd_Instance:-https://login.microsoftonline.com/}
@@ -32,7 +33,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}