Ultimate Self-Hosting Guide for NextJS + Supabase (2024)

  Рет қаралды 8,246

Theo in Tech

Theo in Tech

Күн бұрын

Пікірлер: 37
@pushkarkathayat7893
@pushkarkathayat7893 2 ай бұрын
I installed supabase on vps, But it doesnt have the supabase auth. How to install it?
@theointechs
@theointechs 2 ай бұрын
If you use the Coolify interface to deploy it should be there...
@pushkarkathayat7893
@pushkarkathayat7893 2 ай бұрын
@@theointechs It is not unfortunately :(
@theointechs
@theointechs 2 ай бұрын
@@pushkarkathayat7893 for personnalized help, i offer 1-1 consultation at calendly.com/expoweb if you dont find the answer
@AsyncDpp
@AsyncDpp 3 ай бұрын
Thank you for this. Some Astro stuff would be great too!
@theointechs
@theointechs 3 ай бұрын
Thank you! never used Astro in the past ngl but I might check it out!
@taoufiqlotfi4893
@taoufiqlotfi4893 17 күн бұрын
Hey Theo making database public part is not working with coolify anymore i keep getting the error "Connection to ServerIP:5434 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused" when i try to connect to the database
@theointechs
@theointechs 17 күн бұрын
Make sure the port is opened on the network and that firewall has a passthrough
@yadon9884
@yadon9884 Ай бұрын
Theo, the minio fix was awesome! Will you make a very detail step by step video on implementing the OAuth and SMTP into supabase on coolify? also your schedule a call link isn't working.
@theointechs
@theointechs Ай бұрын
I could surely do that! My new scheduling link is cal.com/team/dev-sunmoon i will make sure to change it!
@LECLERNathan
@LECLERNathan 24 күн бұрын
Hey Theo ! Amazing content ! I have a next-js with supabase project running on vercel at the moment but would like to move to self hosted alternative. I am quite new to dev and many of this coolify setup options are still blur for me. Would you take some freelance work to deploy next js and supabase on a private VPS (that I already have, on digital ocean) ?
@theointechs
@theointechs 24 күн бұрын
Hi Nathan, you can contact me at my email and also checkout my agency at sunmoon.co
@psuedocode5592
@psuedocode5592 3 ай бұрын
hey Theo, did you open the port for supabase-studio: and not for supabase-db: ?
@theointechs
@theointechs 3 ай бұрын
I opened only the Postgres db port to be able to remote access, otherwise my domains are using a reverse proxy so its more secure.
@amogelangmoatswi1918
@amogelangmoatswi1918 2 ай бұрын
newbie here, how many simple next.js landing pages can i host on that VPS.. if i where to start a small web dev business?
@theointechs
@theointechs 2 ай бұрын
A LOT, I mean im on a VPS with 6 GB of ram and pinging the api non stop doesnt even overload, what takes juice more are databases.
@josipX
@josipX 2 ай бұрын
Thanks for the awesome video. For me the buckets never load in the supabase storage UI and there's also nothing helpful in the supabase storage or minio logs. Very strange.
@theointechs
@theointechs 2 ай бұрын
@@josipX hey man thanks for the kind words! You are actually the 3rd person who told me this problem, i will look into it more deeply and make a video about it, stay tuned.
@josipX
@josipX 2 ай бұрын
@@theointechs there's a github issue in the coolify repo number 2360, apparently there's a https connection missing somewhere between the minio createbucket container and supabase
@theointechs
@theointechs 2 ай бұрын
​@@josipXill make sure to take a look
@theointechs
@theointechs 2 ай бұрын
Just to make sure, have you tried changing the tags for minio/minio and minio/mc?
@rizzao_br
@rizzao_br Ай бұрын
For me, the following worked: - install minio - create a bucket in minio - generate the keys - only after that install supabase if I install supabase without having any bucket in minio, it simply doesn't work!
@lev1ato
@lev1ato Ай бұрын
Really like your content, keep it up. I would love to see a whole project done with Next.js, self-hosted and with Supabase db/auth self-hosted. Step by step instructions. Have like a protected page with, credentials signup/login, github auth, google auth and maybe storage with R2. Just to see the whole process, I might try it on my own, but I was not able to find something similar anywhere. Maybe even for auth not use Supabase auth even if it is not possible or hard to do, and go for Lucia v4 or betterauth. Just thinking out loud.
@theointechs
@theointechs Ай бұрын
Hey man! Thank you for the feedback :) Right now I am very busy with my startup MyBookQuest but what I could do is make a live at the end of the month where we go deep on EVRYTHING of the project, how does that sound?
@lev1ato
@lev1ato Ай бұрын
@@theointechs That sounds awesome! would love that. Wish you all the luck with your startup.
@theointechs
@theointechs Ай бұрын
@@lev1ato All right, stay tuned as in the next videos ill mention the date and time but it should be at the end of the month!
@nicomasset
@nicomasset 3 ай бұрын
hi, i have trouble with my next js env concerning supabase. I dont know what are supposed to be the supabase public url and DATABASE_URL, i'm kinda lost in there
@theointechs
@theointechs 3 ай бұрын
If you are using the same Supabase deployment as me then you need the keys that are auto generated in the "Environment" tab at the left of the Coolify UI on your project. See at 17:40 when I didn't enter the keys I had the same error as you do probably.
@nicomasset
@nicomasset 3 ай бұрын
@@theointechs i don't get it. when i use to do it without coolify and i needed some env variable in my next app, related to supabase. (such as NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_KEY etc..) And i have trouble finding what to use for DATABASE_URL and NEXT_PUBLIC_SUPABASE_URL. I think i missed the auto generated part oO
@mjoong-ki4487
@mjoong-ki4487 2 ай бұрын
Can’t believe it’s been a year since I’ve been waiting for Supabase to come out with a beautiful login page UI, not just that basic popup. And there’s still no sign of it. 😅 (maybe I have, but i still can't find it.)
@theointechs
@theointechs 2 ай бұрын
And its also so simple... 😂
@andru5054
@andru5054 2 ай бұрын
nice
@flowmv
@flowmv 3 ай бұрын
Wow, appreciate this Theo! I just have two concerns stopping me from going all in on VPS 1. storage Currently while using supabase cloud, in my next.js code I'm using supabase's sdk storage procedures for uploading and storing files. Is it a straightforward setup to create our own s3 buckets and link them to the coolify's supabase instance? Would love a tutorial on that if possible, on making storage work while still using supabase's procedures for it 2. managing development & prod envs for supabase I'm sure for next.js we can just use branching for dev and prod, but how easy or difficult would it be to manage a development and prod environment for supabase, in this kind of a setup? how would the architecture work? would love a tutorial covering this if possible
@theointechs
@theointechs 3 ай бұрын
Hey thank you for the kind words! For Storage, you still have the ability to create storage buckets on the supabase admin dashboard on your self hosted instance, you can also link S3 buckets as backup directly on the Coolify UI of your project. For different envs topic, when creating projects, you can choose the environment at the top of the screen, you can then use different branches in your git to handle your NextJS deployments differently as well as different DB schemas.
Self host your Apps with Coolify: Install and Demo
25:23
Brendan O'Connell
Рет қаралды 2,7 М.
How to Migrate Supabase to a Self-Hosted Version (for CHEAP)
14:01
Theo in Tech
Рет қаралды 2,2 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
Coolify - deploy services locally, or on remote servers!
51:30
Awesome Open Source
Рет қаралды 18 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 701 М.
Self-Host n8n Easily with Coolify: Perfect for Beginners
20:10
Quentin Daems | Make Automation
Рет қаралды 1,7 М.
Host your own Vercel
57:58
Syntax
Рет қаралды 8 М.
Setting up a production ready VPS is a lot easier than I thought.
29:50
TechTalk Live Coding Ep1 avèk Mr. Spider (Schlei Dens)
47:24
Jean Gérard Bousiquot
Рет қаралды 35
Say Goodbye to Webhooks: Connect Firebase to Stripe Instantly
16:02
Code With Munashe
Рет қаралды 96
Coolify Crash Course | Self Host 101 | Secure Set up
1:29:06
Syntax
Рет қаралды 131 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН