littleshop/LittleShop/appsettings.Development.json

68 lines
1.6 KiB
JSON

{
"ConnectionStrings": {
"DefaultConnection": "Data Source=teleshop-dev.db"
},
"Jwt": {
"Key": "DEVELOPMENT_USE_DOTNET_USER_SECRETS_OR_ENV_VAR",
"Issuer": "LittleShop-Dev",
"Audience": "LittleShop-Dev",
"ExpiryInHours": 2
},
"SilverPay": {
"BaseUrl": "http://10.0.0.51:5500",
"ApiKey": "OCTk42VKenf5KZqKDDRAAskxf53yJsEby72j99Fc",
"WebhookSecret": "webhook_secret_dev",
"DefaultWebhookUrl": "http://localhost:5000/api/orders/payments/webhook",
"AllowUnsignedWebhooks": true
},
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft.AspNetCore": "Information",
"LittleShop": "Debug"
}
},
"Security": {
"AllowInsecureSSL": true,
"EnableDetailedErrors": true
},
"CORS": {
"AllowedOrigins": [
"http://localhost:3000",
"http://localhost:5173",
"http://localhost:5000",
"http://localhost:5001",
"https://localhost:5001",
"http://localhost:8080"
]
},
"TeleBot": {
"ApiUrl": "http://localhost:8080",
"ApiKey": "development-key-replace-in-production"
},
"DataRetention": {
"Enabled": true,
"CleanupTime": "03:00",
"CheckIntervalHours": 1,
"DefaultRetentionDays": 7,
"DeletionGracePeriodDays": 1,
"MaxCustomersPerRun": 10,
"DryRunMode": true,
"NotifyAdminBeforeDeletion": true,
"NotificationDaysBeforeDeletion": 1
},
"IPWhitelist": {
"Enabled": false,
"UseForwardedHeaders": true,
"ShowClientIP": true,
"WhitelistedIPs": [
"127.0.0.1",
"::1"
],
"WhitelistedCIDRs": [
"192.168.0.0/16",
"10.0.0.0/8",
"172.16.0.0/12"
]
}
}