QrRapido/appsettings.Development.json
Ricardo Carneiro a3238ca6c5 feat: MCP server + landing page + OAuth returnUrl fix
- Add Node.js MCP server (stdio + HTTP/SSE) with generate_qr and generate_pix_qr tools
- Add landing pages PT/EN at /mcp and /mcp/en with hreflang SEO
- Fix OAuth returnUrl via RedirectUri query param (state was always null in callback)
- Fix API key requests bypassing web credit check (use rate limiter instead)
- Add /api/mcp nginx route + Docker Swarm service for n8n cloud integration
- Auto-create API key on first OAuth login with TempData display
- Add UseDefaultFiles() for /mcp → /mcp/index.html serving
- Fix Serilog console log level in Development (was Error, now Info for app logs)
- Add /api/v1/QRManager/me endpoint for API key validation
- Update CI/CD to build and deploy qrrapido-mcp image alongside .NET app

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 21:23:50 -03:00

92 lines
2.6 KiB
JSON

{
"App": {
"Name": "QR Rapido",
"BaseUrl": "https://localhost:52428",
"TaglinePT": "Gere QR codes em segundos!",
"TaglineES": "¡Genera códigos QR en segundos!",
"TaglineEN": "Generate QR codes in seconds!",
"Version": "1.0.0"
},
"Support": {
"TelegramUrl": "https://t.me/jobmakerbr",
"FormspreeUrl": "https://formspree.io/f/xpwynqpj"
},
"ApplicationName": "QRRapido-Dev",
"Environment": "Dev",
"Serilog": {
"SeqUrl": "http://192.168.0.75:5341",
"ApiKey": "",
"MinimumLevel": {
"Default": "Warning",
"Override": {
"Microsoft": "Warning",
"Microsoft.AspNetCore": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"System": "Warning",
"QRRapidoApp": "Information"
}
}
},
"ResourceMonitoring": {
"Enabled": true,
"IntervalSeconds": 60,
"CpuThresholdPercent": 90,
"MemoryThresholdMB": 1024,
"ConsecutiveAlertsBeforeError": 6
},
"MongoDbMonitoring": {
"Enabled": true,
"IntervalMinutes": 10,
"DatabaseSizeWarningMB": 2048,
"DatabaseSizeErrorMB": 10240,
"GrowthRateWarningMBPerHour": 200,
"IncludeCollectionStats": true
},
"Stripe": {
"PublishableKey": "pk_test_51Rs42SB6bFjHQirAJ6kzbFCbBuAobyNbmlgpULFsInl8KRzlpclUoqOZICqvp2S51kquw3Bc04CPO9bNUEgDLDgd00XbAHT7Fh",
"SecretKey": "sk_test_51Rs42SB6bFjHQirANOUg8jgzPALbNdVWULSVRMycFRBTzE0QUGA6pkpoQaTVsCIoV3XGRgoJ7E3CA6Y67vWlM76q00QBoKW0aH",
"WebhookSecret": "whsec_667402ff1d753b181f626636d556975f2749b5fec4d1231d44f040b057fb3009",
"ProductId": "prod_TGTbombliOUYmQ",
"Plans": {
"Monthly": {
"BR": "price_1SJwebB6bFjHQirAloEqXWd6",
"PY": "price_1SK4Y0B6bFjHQirAaxNHxILi",
"US": "price_XXXXX_monthly_us"
},
"Yearly": {
"BR": "price_1SK4X7B6bFjHQirAdMtviPw4",
"PY": "price_1SK4Y0B6bFjHQirAaxNHxILi",
"US": "price_XXXXX_yearly_us"
}
}
},
"HealthChecks": {
"MongoDB": {
"TimeoutSeconds": 10,
"IncludeDatabaseSize": true,
"TestQuery": true
},
"Seq": {
"TimeoutSeconds": 5,
"TestLogMessage": "QRRapido-Dev health check test"
},
"Resources": {
"CpuThresholdPercent": 95,
"MemoryThresholdMB": 1200,
"GcPressureThreshold": 20
},
"ExternalServices": {
"TimeoutSeconds": 15,
"TestStripeConnection": false,
"TestGoogleAuth": false,
"TestMicrosoftAuth": false
}
},
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft.AspNetCore": "Information",
"QRRapidoApp": "Debug"
}
}
}