top | item 42850272

(no title)

mhrmsn | 1 year ago

Congratulations on the launch! I've been using CapRover in the past and wanted to try out Coolify recently, could you elaborate what the advantages of k3s/Longhorn might be (no experience with them)?

Are deployments from Github Actions possible (I'd assume some interface/API is needed for that)?

Thanks!

discuss

order

j_meier|1 year ago

Hey mhrmsn

Coolify and CapRover use Docker under the hood, which works great if you’re running a single VPS. However, if you plan to host multiple apps on the VPS and need to scale the load across multiple VPS instances (a cluster), things get more complex. I once tried scaling with CapRover, and it worked, but the main challenge was storage management.

For example, if you’re running a database, its storage is tied to a specific VPS node. This means the database can only run on that particular node. In contrast, if you use k3s with Longhorn, volumes attached to a container are automatically replicated across multiple VPS nodes. This setup ensures that it doesn’t matter which node your database runs on. If a VPS node goes down, the database can seamlessly run on another node.

For automated deployments you can generate a webhook url and add it to your GitHub or Gitlab repo and configure it so that if you push new commits, the newest version will automatically be deployed on QuickStack.

I hope this answers your question! :)

mhrmsn|1 year ago

That was very helpful, thanks! Might give it a shot later this week for a new API :)