littleshop/TeleBot/TeleBot/appsettings.json
sysadmin 1d249d13ba
All checks were successful
Build and Deploy LittleShop / Deploy to Production VPS (Manual Only) (push) Has been skipped
Build and Deploy LittleShop / Deploy to Pre-Production (CT109) (push) Successful in 1m1s
fix: Bot registration duplicate prevention and SilverPay integration update
- Fixed BotService to prevent duplicate bot registrations by checking for existing bot with same name/type
- Updated existing bot record instead of creating duplicates on re-registration
- Configured SilverPay integration with production API key
- Updated TeleBot configuration for local development (localhost API URL, Tor disabled)

This ensures single bot instances and proper payment gateway integration for testing.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 15:56:23 +00:00

88 lines
2.3 KiB
JSON

{
"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": "8496279616:AAE7kV_riICbWxn6-MPFqcrWx7K8b4_NKq0",
"AdminChatId": "123456789",
"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:5000",
"OnionUrl": "",
"Username": "admin",
"Password": "admin",
"UseTor": false,
"Comment": "UseTor=false is safe for internal Docker network communication. TOR is only needed for external Telegram API calls."
},
"Privacy": {
"Mode": "strict",
"DataRetentionHours": 24,
"SessionTimeoutMinutes": 30,
"EnableAnalytics": false,
"RequirePGPForShipping": false,
"EphemeralByDefault": true,
"EnableTor": false,
"TorSocksHost": "tor-gateway",
"TorSocksPort": 9050,
"TorControlPort": 9051,
"OnionServiceDirectory": "/var/lib/tor/telebot/",
"Comment": "TOR is REQUIRED for location privacy. PGP feature removed - not properly implemented."
},
"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": false,
"EnableDisappearingMessages": true,
"EnableOrderMixing": true,
"MixingDelayMinSeconds": 60,
"MixingDelayMaxSeconds": 300,
"Comment": "PGP encryption feature removed - was not properly implemented"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"System": "Warning"
},
"PrivacyMode": true
},
"Hangfire": {
"Enabled": false,
"DatabasePath": "hangfire.db"
},
"Cryptocurrencies": [
"BTC",
"ETH",
"LTC",
"DOGE"
],
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5010"
}
}
}
}