Add market close updates and update deployment path for Compose Manager

Bot enhancements:
- Add scheduled update at market close (4:00 PM ET on trading days)
- Implement is_trading_day() method to check weekdays/holidays
- Market close update sends PYPL price at end of trading day

Deployment changes:
- Update all scripts to use Docker Compose Manager plugin path
- New path: /boot/config/plugins/compose.manager/projects/discord-stock-bot
- Container now integrates with Unraid Docker UI Compose section
- Update documentation with plugin integration details

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Michael Simard
2025-12-03 18:57:13 -06:00
parent 770701e293
commit 584ad2a4f4
6 changed files with 54 additions and 6 deletions

View File

@@ -298,9 +298,10 @@ git push
#### Configuration Details
- **Unraid Host**: `root@192.168.2.61`
- **Deployment Path**: `/mnt/user/docker/custom-dockers/discord-stock-bot`
- **Deployment Path**: `/boot/config/plugins/compose.manager/projects/discord-stock-bot`
- **Git Repository**: `git@git.michaelsimard.ca:msimard/discord-stock-bot.git`
- **Git Server Port**: 28 (configured in SSH config)
- **Integration**: Docker Compose Manager plugin (stack appears in Unraid Docker tab)
#### Troubleshooting Automated Deployment
@@ -325,10 +326,12 @@ ssh root@192.168.2.61 "git ls-remote git@git.michaelsimard.ca:msimard/discord-st
**Container Won't Start:**
```bash
# Check .env exists on Unraid
ssh root@192.168.2.61 "cat /mnt/user/docker/custom-dockers/discord-stock-bot/.env"
ssh root@192.168.2.61 "cat /boot/config/plugins/compose.manager/projects/discord-stock-bot/.env"
# View detailed logs
./manage.sh logs
# Check in Unraid UI: Docker tab > Compose section
```
### Method 1: Docker Compose