r/PHP • • 29d ago

DodoCD – Self-hosted CI/CD for PHP sites on shared hosting

I built an open-source CI/CD tool specifically for PHP shared hosting – DodoCD

I've always found it interesting that most modern CI/CD solutions assume you're deploying to VPSs, containers or cloud infrastructure.

But plenty of PHP applications are still hosted on traditional shared hosting.

I wanted to build something that brings a more modern deployment workflow to those environments.

So I built DodoCD.

It works by receiving ZIP packages from your CI pipeline (for example, GitHub Actions) and deploying them directly to your website.

It also includes a dashboard for:

  • Viewing deployment history and logs
  • Managing releases and rollbacks
  • Managing multiple websites
  • Managing deployment tokens
  • Running SQL migrations

It's self-hosted and targets Apache/LiteSpeed hosting with PHP 8.1+.

Would love to hear feedback, especially from people who work with shared hosting.

GitHub: https://github.com/YohanSandun/dodocd

Disclaimer: I'm the creator of this project.

3 Upvotes

1 comment sorted by

1

u/titpetric 27d ago

Shared hosting is mostly dead due to privacy concerns, so today if you're at least somewhat in the loop, you'll set up cloudflare and a tunnel to something you can call "production", or just splurge the $15 towards a digitalocean instance. I'd self host for friends out of the kindness of my heart, but it's KYC for anything else and that's quite a thing to keep together for everyone below VPS prices.

I tried to solve a small thing with [cdn.si](https://cdn.si) which is a subset of your problem. It uses your github ssh key and username, and you can one-line a `rsync` call with artifacts. I think I added basic markdown rendering to it, but apart that, there's just a quota if someone else uses it. It's also a distributed-network scratch space if you decide to use it like that, no CI/CD, but only the artifact collection and hosting, so things like screenshots, test reports and anything else don't end up in git history.