85 lines
2.4 KiB
JSON
85 lines
2.4 KiB
JSON
{
|
|
"ApplicationName": "QRRapido-Prod",
|
|
"Environment": "Prod",
|
|
"ConnectionStrings": {
|
|
"MongoDB": "mongodb://admin:c4rn31r0@129.146.116.218:27017,141.148.162.114:27017/QrRapido?replicaSet=rs0&authSource=admin"
|
|
},
|
|
"Serilog": {
|
|
"SeqUrl": "http://172.17.0.1:5341",
|
|
"ApiKey": "",
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"System": "Warning",
|
|
"QRRapidoApp": "Information"
|
|
}
|
|
}
|
|
},
|
|
"Stripe": {
|
|
"PublishableKey": "pk_test_51Rs42tBeR5IFYUsBooapyDwQTgh6CFuKbya5R3MVDTrdOUKmgiHQYipU0pgOdG5iKogH77RUYIKBJzbCt5BghUOY00xitV5KiN",
|
|
"SecretKey": "sk_test_51Rs42tBeR5IFYUsBtycRlJJcdwgoMbh8MfQIKIGelBPTQFwDcOn2iCCbw5uG6hnqlpgNAUuFgWRAUUMA8qkABKun00EIx4odDF",
|
|
"WebhookSecret": "whsec_gYri7qNVHc18sREu2eXnjdRzklwRf3hI",
|
|
"ProductId": "prod_SnfQTxwE3i8r5L",
|
|
"Plans": {
|
|
"Monthly": {
|
|
"BR": "price_1SJnDzB6bFjHQirAopEW55cP",
|
|
"PY": "price_1SJnMpB6bFjHQirAlHeaF0Pw",
|
|
"US": "price_XXXXX_monthly_us_PROD"
|
|
},
|
|
"Yearly": {
|
|
"BR": "price_1SJnEpB6bFjHQirAw8NN6i0K",
|
|
"PY": "price_1SJnNiB6bFjHQirAdE953q8Q",
|
|
"US": "price_XXXXX_yearly_us_PROD"
|
|
}
|
|
}
|
|
},
|
|
"ResourceMonitoring": {
|
|
"Enabled": true,
|
|
"IntervalSeconds": 30,
|
|
"CpuThresholdPercent": 75,
|
|
"MemoryThresholdMB": 512,
|
|
"ConsecutiveAlertsBeforeError": 3,
|
|
"GcCollectionThreshold": 8
|
|
},
|
|
"MongoDbMonitoring": {
|
|
"Enabled": true,
|
|
"IntervalMinutes": 5,
|
|
"DatabaseSizeWarningMB": 1024,
|
|
"DatabaseSizeErrorMB": 5120,
|
|
"GrowthRateWarningMBPerHour": 100,
|
|
"IncludeCollectionStats": true,
|
|
"CollectionsToMonitor": [ "Users", "QRCodeHistory", "AdFreeSessions" ]
|
|
},
|
|
"HealthChecks": {
|
|
"MongoDB": {
|
|
"TimeoutSeconds": 5,
|
|
"IncludeDatabaseSize": true,
|
|
"TestQuery": true
|
|
},
|
|
"Seq": {
|
|
"TimeoutSeconds": 3,
|
|
"TestLogMessage": "QRRapido-Prod health check test"
|
|
},
|
|
"Resources": {
|
|
"CpuThresholdPercent": 80,
|
|
"MemoryThresholdMB": 600,
|
|
"GcPressureThreshold": 12
|
|
},
|
|
"ExternalServices": {
|
|
"TimeoutSeconds": 8,
|
|
"TestStripeConnection": true,
|
|
"TestGoogleAuth": true,
|
|
"TestMicrosoftAuth": true
|
|
}
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"QRRapidoApp": "Information"
|
|
}
|
|
}
|
|
} |