News for hackers. Stuff that matters.
Re:Ask HN: So you moved off Heroku, where did you go? by andrasbacsai on Tuesday October 04, 2022 @04:48AM (#33077884)
Hey, the founder of Coolify here. I'm constantly adding new features to Coolify.

Which ones are you missing (except Docker Swarm)?

Re:Ask HN: So you moved off Heroku, where did you go? by Aeolun on Tuesday October 04, 2022 @08:57AM (#33079656)
The one thing I’m missing in Caprover, and that would make me switch instantly, is I want to be able to feed it a docker-compose file to run a whole stack.

Now if a service has only a docker-compose file I have to pull it apart and start every service individually.

Re:Ask HN: So you moved off Heroku, where did you go? by andrasbacsai on Tuesday October 04, 2022 @09:21AM (#33079949)
That feature is currently WIP. :)
Re:Ask HN: So you moved off Heroku, where did you go? by pbronez on Tuesday October 04, 2022 @03:25PM (#33085444)
100% this. Docker Compose has all the information you need, please let me just deploy it.
Re:Ask HN: So you moved off Heroku, where did you go? by zapt02 on Tuesday October 04, 2022 @05:51AM (#33078218)
CapRover has a huge collection of "One Click Apps" that will deploy hundreds of fully functioning applications for you including dependencies (so for example for WordPress it will spin up both a web and a database container): https://caprover.com/docs/one-click-apps.html

Also I think the way you create different kinds of resources are confusing in Coolify, like what is a "Git Source" or "Destination", all I want is to run my container. It's very different from Herokus/Caps interface and not in a good way.

Also why can't I just deploy from an image? In CapRover I often spin up a container, like `redis-commander` or `wordpress` and then just configure its env vars and volume mounts. In Coolify it seems you have to connect a GitHub repo which is not a desirable workflow for me.

Re:Ask HN: So you moved off Heroku, where did you go? by andrasbacsai on Tuesday October 04, 2022 @07:35AM (#33078950)
I saw CapRover's one-click-apps and I'm thinking of using a similar solution in case of Coolify.

Resources are defined in this way, because you can connect a lot of things to Coolify, GitHub, GitLab, hosted or self-hosted, later on Gitea and other git sources, and also different destinations, local docker engine, remote docker engine and later on Kubernetes. I will improve the onboarding experience to not feel the first use as a burden. :)

Git based deployment is only required, if you would like to deploy a custom thing, that is currently not supported by Coolify. I'm working on a solution where you can use Docker Hub to deploy images (https://feedback.coolify.io/posts/6/deploy-from-docker-hub).

Re:Ask HN: So you moved off Heroku, where did you go? by satvikpendem on Tuesday October 04, 2022 @01:21PM (#33083571)
Dokku has a very easy solution for connecting databases and other services to an app with "Dokku link." Currently with Coolify I have to spin up a database then take the link generated, like postgres://user:pass@host/link and then paste it into my env file for my app. It would be cool for Coolify to automatically inject those environment variables into my app when I link two services and apps together like Dokku does. It just needs to tell me what env variable I should be looking for, like DATABASE_URL, and then I can use that variable in my app.
Re:Ask HN: So you moved off Heroku, where did you go? by andrasbacsai on Tuesday October 04, 2022 @02:32PM (#33084707)
I had a similar idea before (linking resources like this), thanks for reminding me.

I will add such DX improvement, for sure!