Cool Cool Coolify...

Photo by Josh Rakower on Unsplash

Cool Cool Coolify...

An open-source & self-hostable Heroku / Netlify alternative

Saiyam Pathak's photo
Saiyam Pathak
·Mar 31, 2022·

2 min read

Featured on daily.dev
Play this article

It's not a fancy title!! Coolify is actually a new fancy product that is an open-source & self-hostable Heroku / Netlify alternative!

Let's try it out right away??

You can simply install Coolify which runs docker containers (it will automatically install docker if docker is not present on the system)

Install command

/bin/bash -c "$(curl -fsSL https://get.coollabs.io/coolify/install.sh)"

image.png

docker ps
CONTAINER ID   IMAGE                       COMMAND                  CREATED         STATUS         PORTS                                       NAMES
5e84a926eeb4   coollabsio/coolify:latest   "docker-entrypoint.s…"   2 minutes ago   Up 2 minutes   0.0.0.0:3000->3000/tcp, :::3000->3000/tcp   coolify
5c5410613754   bitnami/redis:6.2           "/opt/bitnami/script…"   2 minutes ago   Up 2 minutes   6379/tcp                                    coolify-redis

Deployment to Kubernetes is WIP -> I am excited about this !!

Let's open up the UI - Excited to see how this looks !! Just after registering a test user, you get this fancy UI.

image.png

There is one destination that is local docker.

Application deployment from git

Let's quickly create an application by adding GitHub as the source for applications -

image.png

Next, create the GitHub app -

image.png

Next would be to add repositories -

image.png

Now I can select the repo and branch (Argo,main in my case)

image.png

Choose local docker and build a pack for it -

image.png

Provide the details for the app and you will be able to see the logs.

image.png

image.png

THATS IT!!! your application is deployed with https using coolify!!

image.png

image.png

Any new push to the main branch will trigger the change and you will be able to see the changes almost immediately!!!

Service creation

Let's create the service from the predefines set of applications,

image.png

Let's go with our favourite one - WordPress!!

image.png

image.png

image.png

Once again you get the WordPress application up and running with https!! this is DOPE!!

image.png

Let's see the containers that are running:

docker ps
CONTAINER ID   IMAGE                                      COMMAND                  CREATED          STATUS          PORTS                                                                                                                                                                                                       NAMES
4282d8fcd5e4   wordpress:latest                           "docker-entrypoint.s…"   2 minutes ago    Up 2 minutes    80/tcp                                                                                                                                                                                                      cl1dp7mdp611550ppkarwixdd2
f871916140ff   bitnami/mysql:5.7                          "/opt/bitnami/script…"   2 minutes ago    Up 2 minutes    3306/tcp                                                                                                                                                                                                    cl1dp7mdp611550ppkarwixdd2-mysql
19609515116a   cl1dol48u545120ppk0s8jnttc:0dd6408         "/entrypoint.sh pyth…"   14 minutes ago   Up 14 minutes   80/tcp, 443/tcp                                                                                                                                                                                             cl1dol48u545120ppk0s8jnttc
6d8b6be9139d   coollabsio/coolify-haproxy-alpine:latest   "/docker-entrypoint.…"   5 hours ago      Up 5 hours      0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp, 0.0.0.0:5555->5555/tcp, :::5555->5555/tcp, 0.0.0.0:8404->8404/tcp, :::8404->8404/tcp   coolify-haproxy
5e84a926eeb4   coollabsio/coolify:latest                  "docker-entrypoint.s…"   5 hours ago      Up 5 hours      0.0.0.0:3000->3000/tcp, :::3000->3000/tcp                                                                                                                                                                   coolify
5c5410613754   bitnami/redis:6.2                          "/opt/bitnami/script…"   5 hours ago      Up 5 hours      6379/tcp                                                                                                                                                                                                    coolify-redis

I think this is a really cool project, once it is able to run on Kubernetes, other git providers integrations and remote docker engine support - which I know is already in progress or at least on the roadmap!!

Huge thanks to Andras Bacsai for building this!

Follow kubesimplify if you want such amazing articles!

Did you find this article valuable?

Support Kubesimplify by becoming a sponsor. Any amount is appreciated!

See recent sponsors Learn more about Hashnode Sponsors
 
Share this