QrRapido/appsettings.Production.json
Ricardo Carneiro 74d9801713
All checks were successful
Deploy QR Rapido / test (push) Successful in 39s
Deploy QR Rapido / build-and-push (push) Successful in 13m35s
Deploy QR Rapido / deploy-staging (push) Has been skipped
Deploy QR Rapido / deploy-production (push) Successful in 1m17s
fix: conectar ao seq do host do docker.
2025-08-24 20:04:16 -03:00

67 lines
1.7 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://host.docker.internal:5341",
"ApiKey": "",
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.AspNetCore": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"System": "Warning",
"QRRapidoApp": "Information"
}
}
},
"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"
}
}
}