120 lines
3.3 KiB
JSON
120 lines
3.3 KiB
JSON
{
|
|
"App": {
|
|
"Name": "QR Rapido",
|
|
"BaseUrl": "https://qrrapido.site",
|
|
"TaglinePT": "Gere QR codes em segundos!",
|
|
"TaglineES": "¡Genera códigos QR en segundos!",
|
|
"TaglineEN": "Generate QR codes in seconds!",
|
|
"Version": "1.0.0"
|
|
},
|
|
"ConnectionStrings": {
|
|
"MongoDB": "mongodb://localhost:27017/QrRapido"
|
|
},
|
|
"Authentication": {
|
|
"Google": {
|
|
"ClientId": "your-google-client-id",
|
|
"ClientSecret": "your-google-client-secret"
|
|
},
|
|
"Microsoft": {
|
|
"ClientId": "9bec3835-acdb-4c5a-8668-6b90955c6ad2",
|
|
"ClientSecret": "Oe38Q~FsZ3X5ouptAB6oYyX7MXaGUvxXcqT.aaT9"
|
|
}
|
|
},
|
|
"Stripe": {
|
|
"PublishableKey": "pk_test_51Rs42tBeR5IFYUsBooapyDwQTgh6CFuKbya5R3MVDTrdOUKmgiHQYipU0pgOdG5iKogH77RUYIKBJzbCt5BghUOY00xitV5KiN",
|
|
"SecretKey": "sk_test_51Rs42tBeR5IFYUsBtycRlJJcdwgoMbh8MfQIKIGelBPTQFwDcOn2iCCbw5uG6hnqlpgNAUuFgWRAUUMA8qkABKun00EIx4odDF",
|
|
"WebhookSecret": "whsec_2e828803ceb48e7865458b0cf332b68535fdff8753d26d69b1c88ea55cb0e482",
|
|
"PriceId": "prod_SnfQTxwE3i8r5L"
|
|
},
|
|
"AdSense": {
|
|
"ClientId": "ca-pub-XXXXXXXXXX",
|
|
"Enabled": true
|
|
},
|
|
"Performance": {
|
|
"QRGenerationTimeoutMs": 2000,
|
|
"CacheExpirationMinutes": 60,
|
|
"MaxConcurrentGenerations": 100
|
|
},
|
|
"HistoryCleanup": {
|
|
"GracePeriodDays": 7,
|
|
"CleanupIntervalHours": 6
|
|
},
|
|
"Premium": {
|
|
"FreeQRLimit": 10,
|
|
"PremiumPrice": 12.90,
|
|
"Features": {
|
|
"UnlimitedQR": true,
|
|
"DynamicQR": true,
|
|
"NoAds": true,
|
|
"PrioritySupport": true,
|
|
"AdvancedAnalytics": true,
|
|
"SpeedBoost": true
|
|
}
|
|
},
|
|
"SEO": {
|
|
"KeywordsPT": "qr rapido, gerador qr rapido, qr code rapido, codigo qr rapido, qr gratis rapido",
|
|
"KeywordsES": "qr rapido, generador qr rapido, codigo qr rapido, qr gratis rapido",
|
|
"KeywordsEN": "fast qr, quick qr generator, rapid qr code, qr code generator"
|
|
},
|
|
"ApplicationName": "QRRapido",
|
|
"Environment": "Personal",
|
|
"Serilog": {
|
|
"SeqUrl": "http://localhost:5341",
|
|
"ApiKey": "",
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"System": "Warning"
|
|
}
|
|
}
|
|
},
|
|
"ResourceMonitoring": {
|
|
"Enabled": true,
|
|
"IntervalSeconds": 30,
|
|
"CpuThresholdPercent": 80,
|
|
"MemoryThresholdMB": 512,
|
|
"ConsecutiveAlertsBeforeError": 4,
|
|
"GcCollectionThreshold": 10
|
|
},
|
|
"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 health check test"
|
|
},
|
|
"Resources": {
|
|
"CpuThresholdPercent": 85,
|
|
"MemoryThresholdMB": 600,
|
|
"GcPressureThreshold": 15
|
|
},
|
|
"ExternalServices": {
|
|
"TimeoutSeconds": 10,
|
|
"TestStripeConnection": true,
|
|
"TestGoogleAuth": false,
|
|
"TestMicrosoftAuth": false
|
|
}
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*"
|
|
} |