Hacker News new | ask | show | jobs
by oelmekki 3424 days ago
I use dokku for deployment and on-premise gitlab for CI.

Dokku's main advantage is that it's a no-brainer : if you're used to deploying heroku apps, it's very similar. It also automates the creation of data containers for database services, for example. On top of that, while I can use heroku's buildpacks for small sideprojects, I can also take full control of the build using a Dockerfile (which is what I do for bigger projects). The main inconvenient is that it can't manage multi host container deployments, like docker-swarm or kubernetes (I don't need it, so no need to compromise on simplicity).

Gitlab's pipeline both offer CI and CD, with a lot of cool features around it, like being able to tell on a commit page when it has been deployed on production, for no configuration cost.

Regarding costs : well, it's the cost of a dedicated server.

1 comments

hear hear. I've taken the last couple of months to refactor all of my side projects to 12-factor apps for deployment on a nice Dokku instance. Absolutely effortless.

Next steps now is getting these projects deployed through a CI/CD. I evaluated a few, and it looks like I'm down to drone.io or jenkins.

This will bring some much needed sanity I need to keeping all these side / personal projects in order. I can go weeks or months without touching them, but then know EXACTLY how they will get tested and deployed.