- Changed VAPID subject from public URL to mailto format - Updated docker-compose.yml to use mailto:admin@littleshop.local - Removed dependency on thebankofdebbie.giize.com public domain - All push notifications now work through VPN (admin.dark.side) only - Added update-push-internal.sh helper script for deployment - Improved security by keeping all admin traffic internal Push notifications will continue working normally through FCM, but all configuration and management stays on the internal network. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Data Source=littleshop.db"
|
|
},
|
|
"Jwt": {
|
|
"Key": "${JWT_SECRET_KEY}",
|
|
"Issuer": "LittleShop",
|
|
"Audience": "LittleShop-API",
|
|
"ExpiryMinutes": 60
|
|
},
|
|
"BTCPayServer": {
|
|
"ServerUrl": "${BTCPAY_SERVER_URL}",
|
|
"StoreId": "${BTCPAY_STORE_ID}",
|
|
"ApiKey": "${BTCPAY_API_KEY}",
|
|
"WebhookSecret": "${BTCPAY_WEBHOOK_SECRET}"
|
|
},
|
|
"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}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |