littleshop/LittleShop/appsettings.Production.json
SysAdmin 86f19ba044
All checks were successful
Build and Deploy LittleShop / Deploy to Pre-Production (CT109) (push) Successful in 59s
Build and Deploy LittleShop / Deploy to Production VPS (Manual Only) (push) Has been skipped
feat: Add AlexHost deployment pipeline and bot control functionality
- Add Gitea Actions workflow for manual AlexHost deployment
- Add docker-compose.alexhost.yml for production deployment
- Add deploy-alexhost.sh script with server-side build support
- Add Bot Control feature (Start/Stop/Restart) for remote bot management
- Add discovery control endpoint in TeleBot
- Update TeleBot with StartPollingAsync/StopPolling/RestartPollingAsync
- Fix platform architecture issues by building on target server
- Update docker-compose configurations for all environments

Deployment tested successfully:
- TeleShop: healthy at https://teleshop.silentmary.mywire.org
- TeleBot: healthy with discovery integration
- SilverPay: connectivity verified

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 12:33:46 +00:00

71 lines
2.1 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
}
},
"ConnectionStrings": {
"DefaultConnection": "Data Source=/app/data/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}"
}
}
]
}
}