mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 17:26:17 +00:00
feat: refactor Docker setup for built-in cron scheduling and improved entrypoint handling
This commit is contained in:
19
README.md
19
README.md
@@ -180,18 +180,29 @@ The bot will automatically configure cron (Linux/Raspberry Pi) or Task Scheduler
|
||||
|
||||
---
|
||||
|
||||
## Docker Quick Start
|
||||
## 🐳 Docker Quick Start
|
||||
|
||||
For containerized deployment:
|
||||
For containerized deployment with built-in scheduling:
|
||||
|
||||
```bash
|
||||
# Ensure accounts.jsonc exists in src/
|
||||
# Ensure accounts.jsonc and config.jsonc exist in src/
|
||||
docker compose up -d
|
||||
|
||||
# View logs
|
||||
docker logs -f microsoft-rewards-bot
|
||||
docker logs -f microsoft-rewards-script
|
||||
|
||||
# Check status
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
Container includes:
|
||||
- ✅ Built-in cron scheduling
|
||||
- ✅ Automatic timezone handling
|
||||
- ✅ Random execution delays (anti-detection)
|
||||
- ✅ Health checks
|
||||
|
||||
**⚠️ Note:** Buy Mode is not available in Docker (requires interactive terminal)
|
||||
|
||||
**📖 [Full Docker Guide](docs/docker.md)**
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user