From 249c17a64cd943ced303090185ace5c66d34707f Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Tue, 20 Jan 2026 13:40:55 -0600 Subject: [PATCH] Add production deployment documentation to CLAUDE.md - Production server: ssh akamai - Container path: /root/container-data/major-domo - Service name: discord-app - Full release workflow documented Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 634c5f4..32a072c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -527,6 +527,38 @@ docker push manticorum67/major-domo-discordapp:latest | Discord Bot v2 | `manticorum67/major-domo-discordapp` | | Database API | `manticorum67/major-domo-database` | +### 🚀 Production Deployment + +**Production Server Access:** +```bash +ssh akamai +``` + +**Deployment Commands:** +```bash +# SSH to production and update the container +ssh akamai "cd /root/container-data/major-domo && docker compose pull discord-app && docker compose up -d discord-app" + +# Or manually on the server: +cd /root/container-data/major-domo +docker compose pull discord-app +docker compose up -d discord-app + +# Verify deployment +docker ps | grep major-domo-discord-app +docker logs major-domo-discord-app-1 --tail 50 +``` + +**Full Release Workflow:** +1. Commit changes to main +2. Push to GitHub: `git push` +3. Update VERSION file (e.g., `echo "2.26.0" > VERSION`) +4. Build Docker image: `docker build -t manticorum67/major-domo-discordapp:X.Y.Z -t manticorum67/major-domo-discordapp:latest .` +5. Push to Docker Hub: `docker push manticorum67/major-domo-discordapp:X.Y.Z && docker push manticorum67/major-domo-discordapp:latest` +6. Commit version bump and create tag: `git add VERSION && git commit -m "Bump version to X.Y.Z" && git tag vX.Y.Z` +7. Push commit and tag: `git push && git push --tags` +8. Deploy to production: `ssh akamai "cd /root/container-data/major-domo && docker compose pull discord-app && docker compose up -d discord-app"` + ## 📊 Monitoring and Logs ### Log Files