fix: environment-specific gateway config — staging=sandbox, production=real
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m37s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m37s
- appsettings.json/Staging.json: UseSandbox=true (sandbox mode for testing) - appsettings.Production.json: UseSandbox=false, MerchantId=new production key - Added SeedWorkers, Kestrel, Seq overrides to Production config
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ZarinPal": {
|
"ZarinPal": {
|
||||||
|
"MerchantId": "4225d555-5fa9-4df0-9b61-1ce152cbbba8",
|
||||||
"UseSandbox": false
|
"UseSandbox": false
|
||||||
},
|
},
|
||||||
"CmsBaseUrl": "https://cms.kbs1.ir",
|
"CmsBaseUrl": "https://cms.kbs1.ir",
|
||||||
@@ -7,6 +8,20 @@
|
|||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"DefaultConnection": "Server=mssql-svc;Database=KBS;User Id=sa;Password=YourStrong@Passw0rd;TrustServerCertificate=True;"
|
"DefaultConnection": "Server=mssql-svc;Database=KBS;User Id=sa;Password=YourStrong@Passw0rd;TrustServerCertificate=True;"
|
||||||
},
|
},
|
||||||
|
"SeedWorkers": {
|
||||||
|
"MagicWalletCycleSeed": {
|
||||||
|
"Enabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Kestrel": {
|
||||||
|
"EndpointDefaults": {
|
||||||
|
"Protocols": "Http2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Seq": {
|
||||||
|
"ServerUrl": "http://seq-svc:5341",
|
||||||
|
"ApiKey": "oxpvpUzU1pZxMS4s3Fqq"
|
||||||
|
},
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"Default": "Warning",
|
"Default": "Warning",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"PaymentProvider": "zarinpal",
|
"PaymentProvider": "zarinpal",
|
||||||
"ZarinPal": {
|
"ZarinPal": {
|
||||||
"MerchantId": "4225d555-5fa9-4df0-9b61-1ce152cbbba8",
|
"MerchantId": "4225d555-5fa9-4df0-9b61-1ce152cbbba8",
|
||||||
"UseSandbox": false
|
"UseSandbox": true
|
||||||
},
|
},
|
||||||
"FMS": {
|
"FMS": {
|
||||||
"Address": "https://dl.afrino.co"
|
"Address": "https://dl.afrino.co"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"PaymentProvider": "zarinpal",
|
"PaymentProvider": "zarinpal",
|
||||||
"ZarinPal": {
|
"ZarinPal": {
|
||||||
"MerchantId": "4225d555-5fa9-4df0-9b61-1ce152cbbba8",
|
"MerchantId": "4225d555-5fa9-4df0-9b61-1ce152cbbba8",
|
||||||
"UseSandbox": false
|
"UseSandbox": true
|
||||||
},
|
},
|
||||||
"CmsBaseUrl": "https://cms.se.kbs1.ir",
|
"CmsBaseUrl": "https://cms.se.kbs1.ir",
|
||||||
"FrontOfficeBaseUrl": "https://foursat.se.kbs1.ir",
|
"FrontOfficeBaseUrl": "https://foursat.se.kbs1.ir",
|
||||||
|
|||||||
Reference in New Issue
Block a user