This tool makes self hosting simple

Поділитися
Вставка
  • Опубліковано 10 кві 2024
  • checkout coolify.io/ if you want an easier way to self host on a VPS.
    My Products
    📖 ProjectPlannerAI: projectplannerai.com
    🤖 IconGeneratorAI: icongeneratorai.com
    📝 ThumbnailCritique: thumbnailcritique.com
    Useful Links
    💬 Discord: / discord
    🔔 Newsletter: newsletter.webdevcody.com/
    📁 GitHub: github.com/webdevcody
    📺 Twitch: / webdevcody
    🤖 Website: webdevcody.com
    🐦 Twitter: / webdevcody

КОМЕНТАРІ • 134

  • @heyandras
    @heyandras Місяць тому +288

    Thank you for making a video about it! (the dev behind Coolify here). 💜

    • @RakhaViantoniPrastya
      @RakhaViantoniPrastya Місяць тому +4

      Awesome tool, man!
      Big props to you!

    • @yassinesafraoui
      @yassinesafraoui Місяць тому +3

      Man this feels like a lifesaver can't wait to try it out!

    • @RohitSingh-tu5kd
      @RohitSingh-tu5kd Місяць тому +3

      Bro you have no idea what you have made, its gonna be life saver for lot of devs like me

    • @WebDevCody
      @WebDevCody  Місяць тому +18

      Sure thing man, thanks for making it

    • @RedVelocityTV
      @RedVelocityTV Місяць тому

      You're so cool!

  • @yehorpidhornyi9999
    @yehorpidhornyi9999 Місяць тому +6

    I'm just toying with coolify and here you are, dropping the video about it, thanks

  • @mettle_x
    @mettle_x Місяць тому +37

    Wake up, babe! A new video from Cody just dropped.

  • @oleksandroliynyk8437
    @oleksandroliynyk8437 Місяць тому +2

    thanks for sharing! It looks like a very handy tool when you want to manage your own server and deploy something quickly

  • @mathesonstep
    @mathesonstep Місяць тому

    As much as I am used to manually configuring everything this looks like a super easy and fun way to just get started with a project

  • @RemotHuman
    @RemotHuman Місяць тому +22

    You can also use it to self host open source projects like plausible analytics, supabase etc

  • @yassinesafraoui
    @yassinesafraoui Місяць тому +1

    Thanks a lot this feels like a lifesaver!

  • @Goyo_MGC
    @Goyo_MGC Місяць тому +1

    Great video as always, would love to see tutorials on more advanced routing strategies. Such as multiple website on same VPS and other advanced mechanism ( if it's even recommended )

  • @cheese-grater255
    @cheese-grater255 Місяць тому

    I've been waiting for the Cody x Coolify collaboration for a while. Glad to see it's here :)

  • @parkourbee2
    @parkourbee2 26 днів тому

    Nice! Basically the architecture of Dokku with the UX of Vercel. I'm a fan.

  • @cas818028
    @cas818028 Місяць тому

    Gold, thank you sir

  • @haroldovivallo
    @haroldovivallo Місяць тому

    very cool, thanks for sharing!

  • @jaymondal7775
    @jaymondal7775 Місяць тому

    Thanks for this cool piece of information.

  • @jalolkhamroev5634
    @jalolkhamroev5634 21 день тому

    Great video! I saw how you added DNS records to the Cloudflare in the video. I have a question I self hosted the Coolify, have I to buy the domain in order to do it?

  • @samuelbanya
    @samuelbanya 3 дні тому

    FYI, for anyone who has their NextJS project in a sub folder, it won't work. Make sure your app's main folder is the root folder.
    Ex: Don't use a project like 'my-app', and its sub folder is also 'my-app' which has the contents of your git repo's application.

  • @semihmasat
    @semihmasat Місяць тому

    i knew this was coming :) glad others are trying coolify as well. lets take back our servers :)

  • @akj3344
    @akj3344 Місяць тому

    I always wanted to use something like this.

  • @HideBuz
    @HideBuz Місяць тому +1

    Welcome to the world of self-hosting!

  • @teamvashmmo3218
    @teamvashmmo3218 Місяць тому

    thanks for sharing! I'm curious, when you switched to VPS, did you have to change any SST-related code like how you fetch secrets or binding resources like bind: [table]?

    • @WebDevCody
      @WebDevCody  Місяць тому +1

      I removed all the sst stuff when I moved to a vps

    • @teamvashmmo3218
      @teamvashmmo3218 Місяць тому

      @@WebDevCody Thanks, makes sense!

  • @jahirrana8879
    @jahirrana8879 Місяць тому

    Thank You

  • @ibrahimcious
    @ibrahimcious Місяць тому

    thanks man

  • @aliasgar.burhani1099
    @aliasgar.burhani1099 Місяць тому +1

    What about private repositories ? Do we have to add tokens in the coolify dashboard or we have to set it up manually in the vps like the old days ?

    • @WebDevCody
      @WebDevCody  Місяць тому +2

      I saw a private repo option, so I assume they have a way to setup tooens

  • @artemvictorovich6731
    @artemvictorovich6731 Місяць тому

    Hey! Thank you! Could you please tell me your camera and mic setup ?

    • @WebDevCody
      @WebDevCody  Місяць тому

      iPhone for camera and 990mxl for mic

  • @fischer-tech
    @fischer-tech Місяць тому +4

    next video: builds homelab and leaves digital ocean

  • @sealone777
    @sealone777 10 днів тому

    I have watched all deployment from you and it’s awesome. I do have to ask this question as a noob but why not deploy nextjs on cloudflare?

    • @WebDevCody
      @WebDevCody  10 днів тому

      Is that even possible? I didn’t look into it

    • @sealone777
      @sealone777 10 днів тому

      @@WebDevCody yeah you can.

  • @user-ru7ht1bs5t
    @user-ru7ht1bs5t 8 днів тому

    very nice

  • @teamcodeyard
    @teamcodeyard Місяць тому +2

    #teamcoolify 💜

  • @JakobRossner-qj1wo
    @JakobRossner-qj1wo Місяць тому +2

    The best thing about Vercel is their Edge Network 😂

  • @bnssoftware3292
    @bnssoftware3292 Місяць тому

    Can you have an HA setup with a load balancer in front? Is it out of the box functionality or do we have to do this ourselves with multiple instances of coolify?

    • @WebDevCody
      @WebDevCody  Місяць тому

      I don’t really know. I spent 30 minutes trying this out

    • @wchorski
      @wchorski Місяць тому

      tbh using the Home Assistant OS on a dedicated pi or nuc is the way to go. Especially if you plan on hooking in any hardware

  • @yunyang6267
    @yunyang6267 Місяць тому

    Could you add monitoring, metrics, CDN to that Coolify instance to make it work similarly to Vercel

    • @bnssoftware3292
      @bnssoftware3292 Місяць тому

      I too I'm wondering about the CDN. For static assets will it deploy to S3/cloudfront? This is how vercel basically works.

  • @user-ik7rp8qz5g
    @user-ik7rp8qz5g Місяць тому

    How does this tool get along with gitlab ci or github actions?

  • @lee2k137
    @lee2k137 Місяць тому

    It is possible to customize it for the Node.js application to run in cluster mode, isn't it? I want to utilize all CPU power, previously when I deployed using pm2, there would be an additional option '-i max'

    • @WebDevCody
      @WebDevCody  Місяць тому +1

      I’m not sure with this tool, but it uses a customizable tool called nixpack which probably allows running with pm2

  • @_ultraviolet
    @_ultraviolet Місяць тому +2

    4:23 - don’t think that’s a bug, you have to press the save button

  • @Peacemaker.404
    @Peacemaker.404 Місяць тому

    hey cody, have you used umami?

  • @sarabwt
    @sarabwt Місяць тому

    How does this compare to K3S and ArgoCD? Couldn't you do almost the same thing, with the exception, that Coolify also builds a container? K3S seems less resource hungry + you get the access to the Helm ecosystem. Am I missing something?

    • @WebDevCody
      @WebDevCody  Місяць тому

      It seems Coolify automatically builds your image and also can hook into GitHub webhooks

    • @sarabwt
      @sarabwt Місяць тому

      @@WebDevCody Ok, so a bit simpler than a K3S setup and maybe more resource hungry. Good trade off for self hosting hobby projects if you don't want to dive deep into Kubernetes. I like it :) Does it come with "observability" included, or do you have to tag that on also?

    • @easylite376
      @easylite376 Місяць тому

      Do you have a good source for the k3s and argocd setup? I'm using caprover (something similar to coolify) at the moment, but want to try other things also :)

    • @nickwoodward819
      @nickwoodward819 Місяць тому

      @@easylite376 would be interested too

  • @RenAllan
    @RenAllan Місяць тому

    How do you set the port? just leave it at 3000? After setting the A record, the server always show bad gateway. Not sure why。

    • @WebDevCody
      @WebDevCody  Місяць тому

      I don’t rememebr needing to set one

  • @_lorenz013
    @_lorenz013 Місяць тому

    What about Dockploy ?

  • @samuelbanya
    @samuelbanya 3 дні тому

    Tried this earlier, but the biggest pain in the ass for this was to setup the proxy settings for this.
    Once its deployed, the actual site itself will lack Lets Encrypt certificates, so it makes the end result website deployment absolutely useless. Just use Vercel, and point it to your actual domain.

    • @WebDevCody
      @WebDevCody  2 дні тому

      I didn't have issue setting up the certs

    • @samuelbanya
      @samuelbanya 2 дні тому

      @@WebDevCody I just wish it were automatic.

  • @CadisDiEtrama000
    @CadisDiEtrama000 Місяць тому +1

    So this is kinda like Portainer?

    • @Nekroido
      @Nekroido 25 днів тому

      Yeah, looks pretty similar feature-wise

  • @kishanbsh
    @kishanbsh Місяць тому

    How did you get that TLS to work?

    • @WebDevCody
      @WebDevCody  Місяць тому

      it is probably using Let's Encrypt under the hood, so I don't need to do anything

  • @DeadlyDragon_
    @DeadlyDragon_ 28 днів тому

    Network Engineer here, why use this instead of just docker itself and portainer if you want a gui? I have my own dell servers at home for fairly cheap and am self hosting everything, if I need a VM I just create it using my terraform template and it's ready to go in minutes. I feel that adding additional layers on top of the underlying technology here is a bit wasteful resource wise and docker is simple enough to learn if this is the end goal but perhaps I am missing some feature that coolify is more targeted towards.

    • @WebDevCody
      @WebDevCody  28 днів тому +3

      You know when you get to that point where you’ve already spent years learning something where everything seems easy? I think you’re at that point. I think coolify is geared towards someone who doesn’t want to dive into learning docker, terraform, setting up cicd pipelines with GitHub webhooks to auto deploy on commits. I think coolify already supports scaling out to multiple nodes out of the box

    • @DeadlyDragon_
      @DeadlyDragon_ 28 днів тому

      @@WebDevCody That might very well be the case, but I also feel like I am still learning something new everyday, not sure if that ever goes away as I am still fairly early on in my career.

  • @peteredmonds1712
    @peteredmonds1712 Місяць тому

    Did enabling the CF proxy cause issues for you?

    • @WebDevCody
      @WebDevCody  Місяць тому

      I never tried, I just used the dns not the proxy

    • @peteredmonds1712
      @peteredmonds1712 Місяць тому

      @@WebDevCody got it. id also recommend you harden your ssh config if you are planning on keeping this around.

    • @WebDevCody
      @WebDevCody  Місяць тому

      @@peteredmonds1712 I’ve already deleted it, but if I use this in prod I’ll read more on it

    • @peteredmonds1712
      @peteredmonds1712 Місяць тому

      @@WebDevCody got it. id also recommend you harden your ssh config if you are planning on keeping this around.

  • @edhahaz
    @edhahaz Місяць тому

    Looks convenient af, if it doesn't break unexpectedly. Personally I had some horrific experiences with traefik so I avoid it like the plague.

    • @henri470x
      @henri470x Місяць тому

      may i know what that horrific experiences are

    • @edhahaz
      @edhahaz Місяць тому

      @@henri470x A functioning setup would randomly cease working (good luck troubleshooting that). I found configuring traefik confusing and seemingly arbitrary. Documentation often contradicted tutorials, making it difficult to trust either. No matter how much I delved into the docs, it felt more like memorizing trivia than gaining any understanding.
      Spent weeks with Traefik, I gave up and switched to HAProxy. Setting up HAProxy took a few hours, and everything worked.

  • @tansven8760
    @tansven8760 Місяць тому +1

    Isn't db in instance a bad practice?

    • @WebDevCody
      @WebDevCody  Місяць тому +5

      What’s bad about it? As long as you have backups you should be fine. Also keeping the db on the same machine as your web server will results in no latency due to network requests. For a majority of small or medium traffic apps, it’s fine

    • @nickwoodward819
      @nickwoodward819 Місяць тому +1

      @@WebDevCody Yeah I feel like I've been scared off this by FE devs that are perhaps more wary of running a db. I'm definitely tempted to do this.

    • @codernerd7076
      @codernerd7076 Місяць тому

      This is false and it comes from heavy marketing from db service sites!

    • @jamesdavis1239
      @jamesdavis1239 Місяць тому +2

      Wasn't this practice common in nearly every PHP website?

    • @nithinbhandari3075
      @nithinbhandari3075 Місяць тому

      Previously I also used to think like this (I am working in small company)
      Then my boss told to deploy mongodb on machine.
      I am working from 8 month, literally nothing happens.
      Just keep backup of everyday.

  • @felipejzrd
    @felipejzrd Місяць тому

    Game changer

  • @tswdev
    @tswdev 28 днів тому

    How I miss just FTPing and drag and dropping files into the server

    • @WebDevCody
      @WebDevCody  27 днів тому

      Me too. Too much complexity these days

  • @bnssoftware3292
    @bnssoftware3292 Місяць тому

    Why would I use this over kubernetes?

    • @WebDevCody
      @WebDevCody  Місяць тому

      It auto builds your images and hooks into GitHub to auto build

    • @bnssoftware3292
      @bnssoftware3292 Місяць тому

      Beyond that does it provide the resiliency that kubernetes does? In kubernetes if a pod goes down it'll reschedule it. How does this product do that?

  • @IvanRandomDude
    @IvanRandomDude Місяць тому +1

    It is easier than ever to self-host. Meanwhile, we are told more than ever by "Merchants of complexity" that it is harder than ever and that we are screwed without their overpriced services.

    • @WebDevCody
      @WebDevCody  Місяць тому +1

      I mean, hosting a single app on a vps has been easy for 10 years now ever since caddy, lets encrypt, and docker came out. The annoying part is having a robust monitoring and centralized logging setup (which is also easy now because of docker and the abundance of blog posts walking everyone through how to do everything)

    • @nickwoodward819
      @nickwoodward819 Місяць тому +1

      @@WebDevCody is there one you recommend?

  • @boyo_23
    @boyo_23 Місяць тому

    why disable proxy in cloudflare? 4:00

    • @WebDevCody
      @WebDevCody  Місяць тому +1

      Not sure usually I keep it on

    • @boyo_23
      @boyo_23 Місяць тому

      @@WebDevCody Oh okay, I thought there was reason to disable it.

  • @s.adnansami5106
    @s.adnansami5106 Місяць тому

    Oh no... The beard :(

  • @bikram.rongpi
    @bikram.rongpi 27 днів тому

    Portainer +

  • @MystieK_
    @MystieK_ 26 днів тому

    us this any more useful than portainer

  • @kasper369
    @kasper369 Місяць тому

    Serverless?

    • @WebDevCody
      @WebDevCody  Місяць тому

      Serverless adds more complexity imo

    • @oscarljimenez5717
      @oscarljimenez5717 Місяць тому

      ​@@WebDevCody Until you add k8 in your VPS 😂

    • @WebDevCody
      @WebDevCody  Місяць тому +1

      @@oscarljimenez5717 I run k8s in serverless to make it less complex

  • @Aestareth_
    @Aestareth_ 12 днів тому

    why the hell does it need 30gb of storage lmao

    • @WebDevCody
      @WebDevCody  11 днів тому

      Docker

    • @proudparrot2
      @proudparrot2 11 днів тому

      Yeah like Cody said, they want plenty of padding for their Docker images (which typically are pretty large)

  • @UocLv
    @UocLv 29 днів тому

    Just why? Grab a node container in docker, add git clone & and build lines to docker compose. And you are done. You failed to explain, why this is better, then anything else.

    • @WebDevCody
      @WebDevCody  29 днів тому +1

      this can already hook into your git repo and redeploy on code changes, has ssl certs already setup, has the ability to setup a database with a button click. but yes if you want a script to ssh into a machine, git pull latest changes, and re-run docker build + docker compose you can do that. at that point it feels like you are reinventing the wheel

  • @Kiev-en-3-jours
    @Kiev-en-3-jours Місяць тому +1

    How is that self hosting? It's on digital Ocean...

    • @WebDevCody
      @WebDevCody  Місяць тому +4

      Self hosting includes renting a vps. No one actually buys servers and hosts from their own facility, and hosting from you house isn’t a real solution

    • @dobroslav.radosavljevic
      @dobroslav.radosavljevic Місяць тому +8

      self-hosting = managing your own server

    • @Kiev-en-3-jours
      @Kiev-en-3-jours Місяць тому

      @@WebDevCody Well I have rent servers and VPS for 20 years. Moves to the cloud 3 years ago. And that was not called self hosting. So how do you call hosting on you own server. On a home computer? You say it isn’t a real solution but I disagree with that, local first is growing, the decentralized web too, but whatever. How is it called since people are now using self hosting for regular hosting? Calling hosting "self hosting" just sound strange.

    • @NicholasMaietta
      @NicholasMaietta Місяць тому +2

      Your server can be anywhere. In fact, Coolify now offers an option to deploy your stuff to your own servers at home. Self hosting just means you manage your own software on the server, even if you are renting the server a data center. I know the term self-hosting is a bit ambiguous.

    • @Kiev-en-3-jours
      @Kiev-en-3-jours Місяць тому

      @@NicholasMaietta Oh that's interesting. I'll give it a try. Thanks.