Coolify: STOP PAYING for VERCEL & SUPABASE with this NEW, FREE & SELF-HOSTED Alternative

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey there welcome back to AI Cod King if you're a programmer of any sort you've probably heard of verell unless you've been living under a rock that is versel is a platform designed to make deploying your apps a breeze who wouldn't love the idea of Simply pushing your code to GitHub and having it automatically scaled optimized and served to the world versal is primarily used for deploying nextjs and spelit applications as both of these JavaScript Frameworks were created by versel themselves they also offer unique incode features if you use their platform which is why versel has become the go-to choice for many developers they're like the iPhone of deployment platforms Sleek ridiculously popular and with a thriving ecosystem however just like how you need to take out a second mortgage to afford the latest iPhone versell can get pretty pricey pretty fast it's great for smaller sites but as you scale up you don't have control over the costs there are many horror stories about people being absurdly charged by them and that's not all with versel you're only paying for the front end whereas when it comes to backend or databases you'll need to pay for other services like superpa base Clerk ozero and so on so overall running a site can get pretty pricey if you don't fit into their free tier and that's why I like calling this the versel stack because if you choose to use versel then you need to choose another backend database and whatnot but what if I told you there's a better way what if I told you that you can self-host your own deployment platform with the option to deploy your database and all the extensions you need for a fraction of the cost well that's kify kify is an open-source alternative that you can self-host on your own or a VPS server it's almost like versel where you can give it a GitHub repo and it will set everything up for you in seconds making sure everything works but before I tell you more about it let me tell you why self-hosting is better for starters you have full control over your code and your data you're not ryant on a third-party platform and you can customize everything to your heart's content plus you're not locked into a proprietary ecosystem which means you can switch to a different platform if you need to and let's not forget about the cost savings with self-hosting you can save up to 90% of your deployment costs which is a pretty big deal but now let's come back to coolify when hosting coolify if you use it efficiently you can actually host your sites for basically free most Cloud providers allow you a small VM for free and you can get away with it it solely depends on your use case and even if you pay for it you can get away with all of this for less than the price of versel Pro Plan anyway kifi is compatible with multiple languages has git integration just like versell and can manage everything from SSL certificates to DB backups it also has some analytical tools that can help you manage your server more efficiently but that's enough talk let's get it installed and check out how to use it and how it performs if you're using a VPS SSH into your server and follow the steps I'm about to tell you next first you'll need to get Docker installed if you don't have it already to get Docker installed head to the docker documentation copy the First Command and paste it into your terminal then copy the second command and paste it into your terminal after this Docker will be installed on your computer now go go to Kif's GitHub page now scroll down and copy the command and paste it into your terminal this will get kify installed on your server once installed you'll see this message on your screen go ahead and open it on your browser make sure Port 8000 is open for this to be accessible now once you open it you'll see this page you'll need to create an account so enter your details and get signed up click on skip onboarding at the bottom and you'll see this screen Now kify is working just as expected now let's add a project and check it out go to the projects Tab and click on the add button then enter the project name you want to refer to the project as now inside the project you'll see a production environment by default you can also add other environments if needed anyway click on the production environment and you'll see the resources page you'll need to add a new resource here and choose what you want to add I'll be adding this GitHub project called room GPT it's open source and public so you can try deploying it as well anyway choose the public repository here and click on the server you want it to be deployed on in my case it's the local server so I'll use that click on it and then click on the Standalone Docker option now enter the repo URL here and click check repo once done click on the continue button now you'll see this page click on the deploy button and your site will start deploying and logs will be shown on screen once deployed you'll see a success page go back to the homepage here you'll see the domain at has deployed it on it uses a temporary SS lip domain to deploy it by default but you can add your domain here as well by just adding a comma after the s- slip domain anyway if you open this domain you'll see that your site is accessible and working just as expected pretty cool now that this is done let me tell you how you can set up your database if needed just go to the project we just created and click on the produ ction environment now we can add a new resource here click on ADD resource now you'll see that there are tons of things you can use and there are multiple databases you can use let's set up my SQL here now select the server and destination and you'll see that my SQL is now installed and you can see all the credentials for it in here you can use these credentials to connect your application with the database okay so now this is done let me also tell you about the other features that are available here the first one is servers here you can add other servers that you can manage from this one panel the next one is sources where you can add your private git sources there's also another feature where you can add storage buckets and connect it with your applications without any hassle you can also set up shared environment variables here there are tons of features here and it's better than versel for advanced configuration I really like this one and it will be really useful for people like me who like self-hosting and want to reduce their versel costs pretty cool let me know if you'll be using it in the comments also if you liked this video give it a thumbs up and subscribe to my channel I'll see you in the next video till then bye
Info
Channel: AICodeKing
Views: 26,076
Rating: undefined out of 5
Keywords: vercel, heroku alternatives, vercel deploy, heroku alternatives 2022 free, vercel kv, vercel nextjs, heroku alternative, deploy to vercel, vercel postgres, svelte vercel, deploying to vercel, streamlit cloud alternative, vercel tutorial, heroku alternatives discord bot, vercel platforms, heroku alternate, vercel database, node vercel, vercel ship, vercel blob, react app vercel, node js on vercel, noode.js vercel, nodejs on vercel, netlify vs vercel
Id: hl8ebudhqZU
Channel Id: undefined
Length: 8min 44sec (524 seconds)
Published: Tue Apr 30 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.