mirror of
https://github.com/BrenBroZAYT/uptime-kuma-discord-bot.git
synced 2026-06-13 16:40:03 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user