littleshop/LittleShop/publish/appsettings.Production.json
SysAdmin caff08cb6f Deploy LittleShop to Hostinger with Docker and BunkerWeb
- Updated Docker configuration for production deployment
- Added SilverPay integration settings
- Configured for admin.thebankofdebbie.giize.com deployment
- Includes all recent security fixes and improvements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 13:00:17 +01:00

71 lines
2.1 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
}
},
"ConnectionStrings": {
"DefaultConnection": "Data Source=littleshop-production.db"
},
"Jwt": {
"Key": "${JWT_SECRET_KEY}",
"Issuer": "LittleShop-Production",
"Audience": "LittleShop-Production",
"ExpiryInHours": 24
},
"SilverPay": {
"BaseUrl": "${SILVERPAY_BASE_URL}",
"ApiKey": "${SILVERPAY_API_KEY}",
"WebhookSecret": "${SILVERPAY_WEBHOOK_SECRET}",
"DefaultWebhookUrl": "${SILVERPAY_WEBHOOK_URL}",
"AllowUnsignedWebhooks": false
},
"RoyalMail": {
"ClientId": "${ROYALMAIL_CLIENT_ID}",
"ClientSecret": "${ROYALMAIL_CLIENT_SECRET}",
"BaseUrl": "https://api.royalmail.net/",
"SenderAddress1": "${ROYALMAIL_SENDER_ADDRESS}",
"SenderCity": "${ROYALMAIL_SENDER_CITY}",
"SenderPostCode": "${ROYALMAIL_SENDER_POSTCODE}",
"SenderCountry": "United Kingdom"
},
"WebPush": {
"VapidPublicKey": "${WEBPUSH_VAPID_PUBLIC_KEY}",
"VapidPrivateKey": "${WEBPUSH_VAPID_PRIVATE_KEY}",
"Subject": "${WEBPUSH_SUBJECT}"
},
"AllowedHosts": "*",
"Urls": "http://+:8080",
"ForwardedHeaders": {
"ForwardedProtoHeaderName": "X-Forwarded-Proto",
"ForwardedForHeaderName": "X-Forwarded-For",
"ForwardedHostHeaderName": "X-Forwarded-Host"
},
"TeleBot": {
"ApiUrl": "${TELEBOT_API_URL}",
"ApiKey": "${TELEBOT_API_KEY}"
},
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"MinimumLevel": "Information",
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "/app/logs/littleshop-.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 7,
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
}
}
]
}
}