Hacker News new | past | comments | ask | show | jobs | submit login

Can I not do all of these things with docker-compose already?



dokku does a lot of things that docker-compose does not. One of the bigger ones is zero downtime deploys:

https://dokku.com/docs/deployment/zero-downtime-deploys/

This has the added benefit of warming up the app before traffic ever hits it, something I was always surprised that even heroku didn't do (at least, the last time I used it ~6 years ago)


I see compose in production all the time - especially from folks that want compose support _in_ Dokku. I bought this up with the compose project manager a few months back. It seems like an interesting use case but it didn't seem like the Docker folks were... aware that this was how folks used docker compose? There is a project out there - Wowu/docker-rollout - that sort of provides this but it has some rough edges.

Disclaimer: I am the Dokku maintainer.


Interesting, how is compose meant to be used then? Just for building images and running local dev environments?


My understanding is that they are focused on the local development loop at the moment, especially with the acquisition of Tilt. That said, I don't work there so take this all with a grain of salt.


No. With Dokku you can just push to git remote and it'll build, deploy the image, set up LE certificates, roll out the app with zero downtime (if you want). To get this running you'd have to do some manual stuff with git commit hooks, but that's just one small part of Dokku.


I have gitlab-runner on my VPS, all it does is `docker compose up`, that already includes a traefik setup with LE certificates.

Zero-downtime does sound interesting though, and is probably better than `traefik.http.middlewares.test-retry.retry`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: