Configure push notifications for internal-only access
- 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>
This commit is contained in:
@@ -1,84 +1,84 @@
|
||||
{
|
||||
"BotInfo": {
|
||||
"Name": "LittleShop TeleBot",
|
||||
"Description": "Privacy-focused e-commerce Telegram bot",
|
||||
"Version": "1.0.0"
|
||||
},
|
||||
"BotManager": {
|
||||
"ApiKey": "",
|
||||
"Comment": "This will be populated after first registration with admin panel"
|
||||
},
|
||||
"Telegram": {
|
||||
"BotToken": "",
|
||||
"AdminChatId": "",
|
||||
"WebhookUrl": "",
|
||||
"UseWebhook": false,
|
||||
"Comment": "Bot token will be fetched from admin panel API if BotManager:ApiKey is set"
|
||||
},
|
||||
"Webhook": {
|
||||
"Secret": "",
|
||||
"Comment": "Optional secret key for webhook authentication"
|
||||
},
|
||||
"LittleShop": {
|
||||
"ApiUrl": "http://localhost:8080",
|
||||
"OnionUrl": "",
|
||||
"Username": "admin",
|
||||
"Password": "admin",
|
||||
"UseTor": false
|
||||
},
|
||||
"Privacy": {
|
||||
"Mode": "strict",
|
||||
"DataRetentionHours": 24,
|
||||
"SessionTimeoutMinutes": 30,
|
||||
"EnableAnalytics": false,
|
||||
"RequirePGPForShipping": false,
|
||||
"EphemeralByDefault": true,
|
||||
"EnableTor": false,
|
||||
"TorSocksPort": 9050,
|
||||
"TorControlPort": 9051,
|
||||
"OnionServiceDirectory": "/var/lib/tor/telebot/"
|
||||
},
|
||||
"Redis": {
|
||||
"ConnectionString": "localhost:6379",
|
||||
"InstanceName": "TeleBot",
|
||||
"Enabled": false
|
||||
},
|
||||
"Database": {
|
||||
"ConnectionString": "Filename=telebot.db;Password=;",
|
||||
"EncryptionKey": "CHANGE_THIS_KEY_IN_PRODUCTION"
|
||||
},
|
||||
"Features": {
|
||||
"EnableVoiceSearch": false,
|
||||
"EnableQRCodes": true,
|
||||
"EnablePGPEncryption": true,
|
||||
"EnableDisappearingMessages": true,
|
||||
"EnableOrderMixing": true,
|
||||
"MixingDelayMinSeconds": 60,
|
||||
"MixingDelayMaxSeconds": 300
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"System": "Warning"
|
||||
},
|
||||
"PrivacyMode": true
|
||||
},
|
||||
"Hangfire": {
|
||||
"Enabled": false,
|
||||
"DatabasePath": "hangfire.db"
|
||||
},
|
||||
"Cryptocurrencies": [
|
||||
"BTC",
|
||||
"XMR",
|
||||
"LTC",
|
||||
"DASH"
|
||||
],
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://localhost:5010"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"BotInfo": {
|
||||
"Name": "LittleShop TeleBot",
|
||||
"Description": "Privacy-focused e-commerce Telegram bot",
|
||||
"Version": "1.0.0"
|
||||
},
|
||||
"BotManager": {
|
||||
"ApiKey": "",
|
||||
"Comment": "This will be populated after first registration with admin panel"
|
||||
},
|
||||
"Telegram": {
|
||||
"BotToken": "",
|
||||
"AdminChatId": "",
|
||||
"WebhookUrl": "",
|
||||
"UseWebhook": false,
|
||||
"Comment": "Bot token will be fetched from admin panel API if BotManager:ApiKey is set"
|
||||
},
|
||||
"Webhook": {
|
||||
"Secret": "",
|
||||
"Comment": "Optional secret key for webhook authentication"
|
||||
},
|
||||
"LittleShop": {
|
||||
"ApiUrl": "http://localhost:8080",
|
||||
"OnionUrl": "",
|
||||
"Username": "admin",
|
||||
"Password": "admin",
|
||||
"UseTor": false
|
||||
},
|
||||
"Privacy": {
|
||||
"Mode": "strict",
|
||||
"DataRetentionHours": 24,
|
||||
"SessionTimeoutMinutes": 30,
|
||||
"EnableAnalytics": false,
|
||||
"RequirePGPForShipping": false,
|
||||
"EphemeralByDefault": true,
|
||||
"EnableTor": false,
|
||||
"TorSocksPort": 9050,
|
||||
"TorControlPort": 9051,
|
||||
"OnionServiceDirectory": "/var/lib/tor/telebot/"
|
||||
},
|
||||
"Redis": {
|
||||
"ConnectionString": "localhost:6379",
|
||||
"InstanceName": "TeleBot",
|
||||
"Enabled": false
|
||||
},
|
||||
"Database": {
|
||||
"ConnectionString": "Filename=telebot.db;Password=;",
|
||||
"EncryptionKey": "CHANGE_THIS_KEY_IN_PRODUCTION"
|
||||
},
|
||||
"Features": {
|
||||
"EnableVoiceSearch": false,
|
||||
"EnableQRCodes": true,
|
||||
"EnablePGPEncryption": true,
|
||||
"EnableDisappearingMessages": true,
|
||||
"EnableOrderMixing": true,
|
||||
"MixingDelayMinSeconds": 60,
|
||||
"MixingDelayMaxSeconds": 300
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"System": "Warning"
|
||||
},
|
||||
"PrivacyMode": true
|
||||
},
|
||||
"Hangfire": {
|
||||
"Enabled": false,
|
||||
"DatabasePath": "hangfire.db"
|
||||
},
|
||||
"Cryptocurrencies": [
|
||||
"BTC",
|
||||
"XMR",
|
||||
"LTC",
|
||||
"DASH"
|
||||
],
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://localhost:5010"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user