This tool makes self hosting simple

Поделиться
HTML-код
  • Опубликовано: 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

Комментарии • 143

  • @heyandras
    @heyandras 3 месяца назад +368

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

    • @RakhaViantoniPrastya
      @RakhaViantoniPrastya 3 месяца назад +7

      Awesome tool, man!
      Big props to you!

    • @yassinesafraoui
      @yassinesafraoui 3 месяца назад +3

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

    • @RohitSingh-tu5kd
      @RohitSingh-tu5kd 3 месяца назад +4

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

    • @WebDevCody
      @WebDevCody  3 месяца назад +22

      Sure thing man, thanks for making it

    • @RedVelocityTV
      @RedVelocityTV 3 месяца назад

      You're so cool!

  • @mettle_x
    @mettle_x 3 месяца назад +41

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

  • @yehorpidhornyi9999
    @yehorpidhornyi9999 3 месяца назад +9

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

  • @mathesonstep
    @mathesonstep 2 месяца назад +3

    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

  • @oleksandroliynyk8437
    @oleksandroliynyk8437 3 месяца назад +3

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

  • @yassinesafraoui
    @yassinesafraoui 3 месяца назад +2

    Thanks a lot this feels like a lifesaver!

  • @RemotHuman
    @RemotHuman 3 месяца назад +23

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

  • @Goyo_MGC
    @Goyo_MGC 3 месяца назад +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 )

  • @parkourbee2
    @parkourbee2 2 месяца назад

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

  • @semihmasat
    @semihmasat 3 месяца назад

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

  • @cas818028
    @cas818028 3 месяца назад

    Gold, thank you sir

  • @haroldovivallo
    @haroldovivallo 3 месяца назад

    very cool, thanks for sharing!

  • @jaymondal7775
    @jaymondal7775 3 месяца назад

    Thanks for this cool piece of information.

  • @HideBuz
    @HideBuz 3 месяца назад +1

    Welcome to the world of self-hosting!

  • @cheese-grater255
    @cheese-grater255 3 месяца назад

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

  • @teamcodeyard
    @teamcodeyard 3 месяца назад +2

    #teamcoolify 💜

  • @aliasgar.burhani1099
    @aliasgar.burhani1099 3 месяца назад +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  3 месяца назад +2

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

  • @teamvashmmo3218
    @teamvashmmo3218 3 месяца назад

    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  3 месяца назад +1

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

    • @teamvashmmo3218
      @teamvashmmo3218 3 месяца назад

      @@WebDevCody Thanks, makes sense!

  • @fischer-tech
    @fischer-tech 3 месяца назад +4

    next video: builds homelab and leaves digital ocean

  • @jahirrana8879
    @jahirrana8879 2 месяца назад

    Thank You

  • @JakobRossner-qj1wo
    @JakobRossner-qj1wo 3 месяца назад +2

    The best thing about Vercel is their Edge Network 😂

  • @ibrahimcious
    @ibrahimcious 2 месяца назад

    thanks man

  • @artemvictorovich6731
    @artemvictorovich6731 3 месяца назад

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

    • @WebDevCody
      @WebDevCody  3 месяца назад

      iPhone for camera and 990mxl for mic

  • @user-ik7rp8qz5g
    @user-ik7rp8qz5g 2 месяца назад

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

  • @bnssoftware3292
    @bnssoftware3292 2 месяца назад

    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  2 месяца назад

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

    • @wchorski
      @wchorski 2 месяца назад

      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

    • @nickdeluca6914
      @nickdeluca6914 Месяц назад

      Please elaborate? That sounds intriguing​@@wchorski

  • @Ongo-gablogian
    @Ongo-gablogian 18 дней назад

    Been trying to figure this out on my raspberry pi but cannot get the dns options to work. On a vpc it works fine but a local pi seems to have an issue about something

  • @lee2k137
    @lee2k137 2 месяца назад

    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  2 месяца назад +1

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

  • @user-ru7ht1bs5t
    @user-ru7ht1bs5t Месяц назад

    very nice

  • @sealone777
    @sealone777 Месяц назад

    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  Месяц назад

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

    • @sealone777
      @sealone777 Месяц назад

      @@WebDevCody yeah you can.

  • @zayyanabdillah7031
    @zayyanabdillah7031 3 дня назад

    sir, i just installed collify on my VPS but when I access port 8000 it says "This site can’t be reached" I don't know what I missing I barely just following your steps

  • @yunyang6267
    @yunyang6267 3 месяца назад

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

    • @bnssoftware3292
      @bnssoftware3292 2 месяца назад

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

  • @RenAllan
    @RenAllan 2 месяца назад

    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  2 месяца назад

      I don’t rememebr needing to set one

  • @samuelbanya
    @samuelbanya Месяц назад

    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.

  • @sarabwt
    @sarabwt 3 месяца назад

    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  3 месяца назад

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

    • @sarabwt
      @sarabwt 3 месяца назад

      @@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 3 месяца назад

      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 3 месяца назад

      @@easylite376 would be interested too

  • @Peacemaker.404
    @Peacemaker.404 3 месяца назад

    hey cody, have you used umami?

  • @akj3344
    @akj3344 3 месяца назад

    I always wanted to use something like this.

  • @_ultraviolet
    @_ultraviolet 3 месяца назад +2

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

  • @faruksardar8829
    @faruksardar8829 24 дня назад

    Can I run WordPress as well?

  • @felipejzrd
    @felipejzrd 3 месяца назад

    Game changer

  • @kishanbsh
    @kishanbsh 2 месяца назад

    How did you get that TLS to work?

    • @WebDevCody
      @WebDevCody  2 месяца назад

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

  • @_lorenz013
    @_lorenz013 2 месяца назад

    What about Dockploy ?

  • @CadisDiEtrama000
    @CadisDiEtrama000 3 месяца назад +1

    So this is kinda like Portainer?

    • @Nekroido
      @Nekroido 2 месяца назад

      Yeah, looks pretty similar feature-wise

  • @peteredmonds1712
    @peteredmonds1712 3 месяца назад

    Did enabling the CF proxy cause issues for you?

    • @WebDevCody
      @WebDevCody  3 месяца назад

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

    • @peteredmonds1712
      @peteredmonds1712 3 месяца назад

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

    • @WebDevCody
      @WebDevCody  3 месяца назад

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

    • @peteredmonds1712
      @peteredmonds1712 3 месяца назад

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

  • @edhahaz
    @edhahaz 3 месяца назад

    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 3 месяца назад

      may i know what that horrific experiences are

    • @edhahaz
      @edhahaz 2 месяца назад

      @@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 3 месяца назад +1

    Isn't db in instance a bad practice?

    • @WebDevCody
      @WebDevCody  3 месяца назад +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 3 месяца назад +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 3 месяца назад

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

    • @jamesdavis1239
      @jamesdavis1239 3 месяца назад +2

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

    • @nithinbhandari3075
      @nithinbhandari3075 2 месяца назад

      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.

  • @IvanRandomDude
    @IvanRandomDude 3 месяца назад +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  3 месяца назад +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 3 месяца назад +1

      @@WebDevCody is there one you recommend?

  • @samuelbanya
    @samuelbanya Месяц назад

    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  Месяц назад

      I didn't have issue setting up the certs

    • @samuelbanya
      @samuelbanya Месяц назад

      @@WebDevCody I just wish it were automatic.

  • @octav7438
    @octav7438 26 дней назад

    bro I remember when self hosting meant ur own servers...

  • @DeadlyDragon_
    @DeadlyDragon_ 2 месяца назад

    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  2 месяца назад +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_ 2 месяца назад

      @@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.

  • @boyo_23
    @boyo_23 2 месяца назад

    why disable proxy in cloudflare? 4:00

    • @WebDevCody
      @WebDevCody  2 месяца назад +1

      Not sure usually I keep it on

    • @boyo_23
      @boyo_23 2 месяца назад

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

  • @bnssoftware3292
    @bnssoftware3292 2 месяца назад

    Why would I use this over kubernetes?

    • @WebDevCody
      @WebDevCody  2 месяца назад

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

    • @bnssoftware3292
      @bnssoftware3292 2 месяца назад

      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?

  • @s.adnansami5106
    @s.adnansami5106 3 месяца назад

    Oh no... The beard :(

  • @mikhacavin
    @mikhacavin День назад

    this server using Ubuntu server?

  • @bikram.rongpi
    @bikram.rongpi 2 месяца назад

    Portainer +

  • @tswdev
    @tswdev 2 месяца назад

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

    • @WebDevCody
      @WebDevCody  2 месяца назад

      Me too. Too much complexity these days

  • @ricko13
    @ricko13 Месяц назад

    why is needs 30+ GB of storage for the images ??? that's absurd

  • @MystieK_
    @MystieK_ 2 месяца назад

    us this any more useful than portainer

  • @kasper369
    @kasper369 3 месяца назад

    Serverless?

    • @WebDevCody
      @WebDevCody  3 месяца назад

      Serverless adds more complexity imo

    • @oscarljimenez5717
      @oscarljimenez5717 3 месяца назад

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

    • @WebDevCody
      @WebDevCody  3 месяца назад +1

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

  • @klovvin
    @klovvin 19 дней назад

    "self hosting" using homosexual cloud providers . Where did we devs go wrong

  • @Aestareth_
    @Aestareth_ Месяц назад

    why the hell does it need 30gb of storage lmao

    • @WebDevCody
      @WebDevCody  Месяц назад

      Docker

    • @proudparrot2
      @proudparrot2 Месяц назад

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

  • @UocLv
    @UocLv 2 месяца назад

    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  2 месяца назад +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 3 месяца назад +2

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

    • @WebDevCody
      @WebDevCody  3 месяца назад +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 3 месяца назад +8

      self-hosting = managing your own server

    • @Kiev-en-3-jours
      @Kiev-en-3-jours 3 месяца назад

      @@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 3 месяца назад +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 3 месяца назад

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