feat: Docker support and improve connection handling in UptimeKumaService.

Added DockerHub instructions to README, implemented automatic reconnection with retry logic, and introduced force reconnect functionality.
Updated authentication process to handle retries and added logging for better error tracking.
This commit is contained in:
Shrev Dev
2025-10-21 09:55:48 -05:00
parent 1b5e053261
commit dcd2e24159
4 changed files with 157 additions and 5 deletions
+19
View File
@@ -67,6 +67,25 @@ See **[QUICKSTART.md](QUICKSTART.md)** for detailed setup instructions.
3. Run: `docker-compose up -d` or `npm start`
4. Use `/set-channel` and `/track-all` in Discord
### DockerHub
Pre-built images are automatically available on DockerHub:
```bash
# Pull the latest image
docker pull boker02/uptime-kuma-discord-bot:latest
# Run with environment variables
docker run -d \
--name uptime-kuma-discord-bot \
-e DISCORD_BOT_TOKEN=your_token \
-e UPTIME_KUMA_URL=your_url \
-e UPTIME_KUMA_USERNAME=your_username \
-e UPTIME_KUMA_PASSWORD=your_password \
-v bot-data:/app/data \
boker02/uptime-kuma-discord-bot:latest
```
## Usage
### Basic Setup