Skip to main content

One post tagged with "git"

View All Tags

Lightweight CI/CD with Git Hooks and Docker Compose

· 4 min read
Frank Chen
Backend & Applied ML Engineer

For small projects or self-hosted apps, using a full-fledged CI/CD tool like GitHub Actions or Jenkins can be overkill. What if you could have automated deployments without any third-party service, and all you need is Git and SSH?

In this post, we’ll walk through setting up a lightweight, no-cost CI/CD pipeline using Git hooks and Docker Compose, with deployments triggered by a simple git push to your production server.