Skip to content

chore: Add Docker Hub deployment workflow plan#17

Open
Louisp78 wants to merge 1 commit into
mainfrom
feat/deployment-docker-hub
Open

chore: Add Docker Hub deployment workflow plan#17
Louisp78 wants to merge 1 commit into
mainfrom
feat/deployment-docker-hub

Conversation

@Louisp78

Copy link
Copy Markdown
Owner

Summary

This PR adds a comprehensive plan for redesigning the deployment workflow to use Docker Hub instead of building Docker images directly on the VPS.

Changes

  • 📋 Added docs/deployment-workflow-plan.md - Complete implementation plan for Docker Hub deployment

Key Improvements Planned

Current workflow: GitHub PR → SSH to VPS → git pull + docker build (resource-intensive)

Proposed workflow: GitHub PR → CI builds images → Push to Docker Hub → VPS pulls and deploys

Benefits

  • Reduced VPS resource usage - No more building heavy images on the VPS
  • Faster deployments - Pre-built images just need to be pulled
  • Better CI/CD - Build happens in GitHub Actions with caching
  • Cleaner VPS - Only needs docker-compose and configs, not source code

Implementation Roadmap

The plan document outlines:

  1. Setting up Docker Hub secrets in GitHub
  2. Rewriting the CI workflow to build and push images
  3. Updating docker-compose.yml to use remote images
  4. Simplifying the deploy.sh script
  5. Verification steps

Next Steps

This is a planning document. The actual implementation will follow in subsequent PRs as outlined in the plan.

Files Modified

  • docs/deployment-workflow-plan.md (new)

@Louisp78 Louisp78 changed the title feat: Add Docker Hub deployment workflow plan chore: Add Docker Hub deployment workflow plan Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant