fix: update appsettings for production environment — adjust URLs and connection strings
Build and Deploy to Production / build-and-deploy (push) Successful in 9m32s

This commit is contained in:
masoodafar-web
2026-02-23 23:59:41 +03:30
parent 3ebe0f9f48
commit def3b94d89
2 changed files with 22 additions and 19 deletions
+3 -3
View File
@@ -494,6 +494,6 @@ fabric.properties
/src/.idea /src/.idea
# Environment-specific configuration files with sensitive data # Environment-specific configuration files with sensitive data
**/appsettings.Staging.json # **/appsettings.Staging.json
**/appsettings.Production.json # **/appsettings.Production.json
**/appsettings.*.local.json # **/appsettings.*.local.json
+19 -16
View File
@@ -2,24 +2,16 @@
"PaymentProvider": "zarinpal", "PaymentProvider": "zarinpal",
"ZarinPal": { "ZarinPal": {
"MerchantId": "4225d555-5fa9-4df0-9b61-1ce152cbbba8", "MerchantId": "4225d555-5fa9-4df0-9b61-1ce152cbbba8",
"UseSandbox": true "UseSandbox": false
},
"CmsBaseUrl": "https://cms.kbs1.ir",
"FrontOfficeBaseUrl": "https://foursat.kbs1.ir",
"FMS": {
"Address": "https://dl.afrino.co"
}, },
"CmsBaseUrl": "https://cms.kbs2.ir",
"FrontOfficeBaseUrl": "https://kbs2.ir",
"JwtSecurityKey": "TvlZVx5TJaHs8e9HgUdGzhGP2CIidoI444nAj+8+g7c=", "JwtSecurityKey": "TvlZVx5TJaHs8e9HgUdGzhGP2CIidoI444nAj+8+g7c=",
"JwtIssuer": "https://localhost", "JwtIssuer": "https://localhost",
"JwtAudience": "https://localhost", "JwtAudience": "https://localhost",
"JwtExpiryInDays": 5, "JwtExpiryInDays": 5,
"Kestrel": {
"EndpointDefaults": {
"Protocols": "Http1AndHttp2"
}
},
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnection": "Data Source=45.149.79.127,31433; Initial Catalog=KBS;User ID=sa;Password=YourStrong@Passw0rd;Connection Timeout=300000;MultipleActiveResultSets=True;Encrypt=False", "DefaultConnection": "Server=mssql-svc;Database=KBS;User Id=sa;Password=YourStrong@Passw0rd;TrustServerCertificate=True;",
"providerName": "System.Data.SqlClient" "providerName": "System.Data.SqlClient"
}, },
"Otp": { "Otp": {
@@ -51,8 +43,8 @@
"Sms": { "Sms": {
"Enabled": true, "Enabled": true,
"Provider": "Kavenegar", "Provider": "Kavenegar",
"KavenegarApiKey": "YOUR_KAVENEGAR_API_KEY", "KavenegarApiKey": "497263626F32626A48685A6137524C4F78575A766E4C74694A556B79317648424964655030682B554545413D",
"Sender": "10008663" "Sender": "1000001110100"
}, },
"DayaPayment": { "DayaPayment": {
"BaseUrl": "https://api.daya.ir", "BaseUrl": "https://api.daya.ir",
@@ -71,7 +63,7 @@
}, },
"BackgroundJobs": { "BackgroundJobs": {
"WeeklyCommissionCalculation": { "WeeklyCommissionCalculation": {
"Enabled": true, "Enabled": false,
"CronExpression": "5 0 * * 0" "CronExpression": "5 0 * * 0"
} }
}, },
@@ -81,12 +73,23 @@
} }
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"Kestrel": {
"EndpointDefaults": {
"Protocols": "Http2"
}
},
"Authentication": { "Authentication": {
"Authority": "https://ids.domain.com/", "Authority": "https://ids.domain.com/",
"Audience": "domain_api" "Audience": "domain_api"
}, },
"Seq": { "Seq": {
"ServerUrl": "https://seq.afrino.co", "ServerUrl": "http://seq-svc:5341",
"ApiKey": "oxpvpUzU1pZxMS4s3Fqq" "ApiKey": "oxpvpUzU1pZxMS4s3Fqq"
},
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft.AspNetCore": "Warning"
}
} }
} }