littleshop/LittleShop/appsettings.json

57 lines
1.5 KiB
JSON

{
"ConnectionStrings": {
"DefaultConnection": "Data Source=teleshop.db"
},
"Jwt": {
"Key": "",
"Issuer": "LittleShop",
"Audience": "LittleShop",
"ExpiryInHours": 24
},
"RoyalMail": {
"ClientId": "",
"ClientSecret": "",
"BaseUrl": "https://api.royalmail.net/",
"SenderAddress1": "SilverLabs Ltd, 123 Business Street",
"SenderCity": "London",
"SenderPostCode": "SW1A 1AA",
"SenderCountry": "United Kingdom"
},
"WebPush": {
"VapidPublicKey": "BMc6fFJZ8oIQKQzcl3kMnP9tTsjrm3oI_VxLt3lAGYUMWGInzDKn7jqclEoZzjvXy1QXGFb3dIun8mVBwh-QuS4",
"VapidPrivateKey": "dYuuagbz2CzCnPDFUpO_qkGLBgnN3MEFZQnjXNkc1MY",
"Subject": "mailto:admin@littleshop.local"
},
"DataRetention": {
"Enabled": true,
"CleanupTime": "02:00",
"CheckIntervalHours": 24,
"DefaultRetentionDays": 730,
"DeletionGracePeriodDays": 30,
"MaxCustomersPerRun": 100,
"DryRunMode": false,
"NotifyAdminBeforeDeletion": true,
"NotificationDaysBeforeDeletion": 7
},
"IPWhitelist": {
"Enabled": false,
"UseForwardedHeaders": true,
"ShowClientIP": false,
"WhitelistedIPs": [
"127.0.0.1",
"::1"
],
"WhitelistedCIDRs": [
"192.168.0.0/16",
"10.0.0.0/8",
"172.16.0.0/12"
]
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}