BCards/src/BCards.Web/appsettings.Release.json
2025-07-22 23:19:17 -03:00

141 lines
3.9 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning",
"BCards": "Information"
},
"Console": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Information"
}
},
"File": {
"Path": "/app/logs/bcards-{Date}.log",
"LogLevel": {
"Default": "Information"
}
}
},
"AllowedHosts": "*",
"MongoDb": {
"ConnectionString": "mongodb://192.168.0.100:27017/BCardsDB",
"DatabaseName": "BCardsDB",
"MaxConnectionPoolSize": 100,
"ConnectTimeout": "30s",
"ServerSelectionTimeout": "30s",
"SocketTimeout": "30s"
},
"Stripe": {
"PublishableKey": "pk_test_51RjUmIBMIadsOxJVP4bWc54pHEOSf5km1hpOkOBSoGVoKxI46N4KSWtevpXCSq68OjFazBuXmPJGBwZ1KDN5MNJy003lj1YmAS",
"SecretKey": "sk_test_51RjUmIBMIadsOxJVeqsMFxnZ8ePR7d8IbnaF4sAwBVJv9rrfODPEQ2C9fF3beoABpITdfzEk0ZDzGTTQfvKv63xI00PeZoABGO",
"WebhookSecret": "whsec_8d189c137ff170ab5e62498003512b9d073e2db50c50ed7d8712b7ef11a37543",
"ApiVersion": "2023-10-16"
},
"Authentication": {
"Google": {
"ClientId": "472850008574-nmeepbdt4hunsk5c8krpbdmd3olc4jv6.apps.googleusercontent.com",
"ClientSecret": "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"
},
"Microsoft": {
"ClientId": "b411606a-e574-4f59-b7cd-10dd941b9fa3",
"ClientSecret": "T0.8Q~an.51iW1H0DVjL2i1bmSK_qTgVQOuEmapK"
},
"CookieSettings": {
"SecurePolicy": "Always",
"SameSiteMode": "Lax",
"HttpOnly": true,
"ExpireTimeSpan": "7.00:00:00"
}
},
"Plans": {
"Basic": {
"PriceId": "price_1RjUskBMIadsOxJVgLwlVo1y",
"Price": 9.90,
"MaxLinks": 5,
"Features": [ "basic_themes", "simple_analytics" ]
},
"Professional": {
"PriceId": "price_1RjUv9BMIadsOxJVORqlM4E9",
"Price": 24.90,
"MaxLinks": 15,
"Features": [ "all_themes", "advanced_analytics", "custom_domain" ]
},
"Premium": {
"PriceId": "price_1RjUw0BMIadsOxJVmdouNV1g",
"Price": 29.90,
"MaxLinks": -1,
"Features": [ "custom_themes", "full_analytics", "multiple_domains", "priority_support" ]
}
},
"Moderation": {
"PriorityTimeframes": {
"Trial": "7.00:00:00",
"Basic": "7.00:00:00",
"Professional": "3.00:00:00",
"Premium": "1.00:00:00"
},
"MaxAttempts": 3,
"ModeratorEmail": "ricardo.carneiro@jobmaker.com.br",
"ModeratorEmails": [
"rrcgoncalves@gmail.com",
"rirocarneiro@gmail.com"
],
"PreviewTokenExpirationHours": 4,
"AutoRejectDays": 30
},
"SendGrid": {
"ApiKey": "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",
"FromEmail": "ricardo.carneiro@jobmaker.com.br",
"FromName": "BCards - Staging",
"ReplyToEmail": "ricardo.carneiro@jobmaker.com.br"
},
"BaseUrl": "http://192.168.0.100:8090",
"Environment": {
"Name": "Release",
"IsStagingEnvironment": true,
"AllowTestData": true,
"EnableDetailedErrors": false
},
"Performance": {
"EnableCaching": true,
"CacheExpirationMinutes": 30,
"EnableCompression": true,
"EnableResponseCaching": true
},
"Security": {
"EnableHttpsRedirection": false,
"EnableHsts": false,
"RequireHttpsMetadata": false,
"CorsOrigins": [
"http://192.168.0.100:8090",
"http://localhost:8090"
]
},
"HealthChecks": {
"Enabled": true,
"Endpoints": {
"Health": "/health",
"Ready": "/ready",
"Live": "/live"
},
"MongoDb": {
"Enabled": true,
"Timeout": "10s"
}
},
"Monitoring": {
"EnableMetrics": true,
"MetricsEndpoint": "/metrics",
"EnableTracing": false
},
"Features": {
"EnablePreviewMode": true,
"EnableModerationWorkflow": true,
"EnableAnalytics": true,
"EnableFileUploads": true,
"MaxFileUploadSize": "5MB"
}
}