No video

Complete Guide ⚡️ Supabase Self-Hosted ➕ Custom S3 ➕ Authelia

  Рет қаралды 29,211

activenode

activenode

Күн бұрын

Supabase self hosted including S3 Storage, Customs Domains and Authelia.
🚨 Important Notes:
I got informed on my blog that User Creation via Dashboard wasn't possible and that for some very specific things such as e.g. certain POST requests the Dashboard wasn't 100% working.
There were only small things missing (updated in the Blog Article already):
1. In 23:10 we configure the location /storage but we also need to do the same thing for /auth (I added it in the linked blog article already) and actually for itself "/" to make sure that everywhere Authentication is passed forward
2. The same thing goes for 33:03: Here we also only add /storage but we need to do the same for /auth
3. Sorry for the that 15:10 hiccup. There was something wrong in the Video/Audio Encoding for a few seconds: I am just saying that Authelia will allow us to protect the Dashboard later with more than just Basic Auth
--
I love doing those videos but this takes massive amounts of time and money (Hardware).
So please help me out by subscribing and maybe get me a coffee 💙: ko-fi.com/acti...
I also have a newsletter for WebDevs, so if you wanna get News into your inbox: pulse.activeno... 🔥
---
Hetzner: hetzner.cloud/...
DigitalOcean 200$ free: m.do.co/c/7b9e...
---
Chapters:
0:00 Intro
0:57 Self-Hosted S3 Setup
10:05 Supabase Server Setup and Config
20:19 Supabase Server: Start it
20:51: Your Proxy Manager is running: Protect it
21:53 Setup your Supabase API
22:30 Setup Supabase Dashboard (Studio)
25:48 Protection with Authelia
---
Write in the comments if you have any questions, I'll answer them as best as I can.
---
If you are german-speaking you might wanna check out my LinkedIn Learning courses as well (I recommend the Node.js course): www.linkedin.c...
---
Here's the blog link with all of the snippets: blog.activenod...

Пікірлер: 273
@activenode
@activenode 11 ай бұрын
Have you tried self-hosting yet? What are you missing?
@watchbro3319
@watchbro3319 8 ай бұрын
i have tried and im missing the part to use my organisation custom ssl certs paths like in nginx i use the conf file where i can mention the path(since they get renewed by org on certain intervals for all sites on mounted path) but here in nginx proxy manager i have to manually update by uploading the certs in the nginx proxy manager is there a way to achieve this btw thanks for making such an easy tutorial going through all the hardwork for us 🫡BIG FAN
@activenode
@activenode 8 ай бұрын
@@watchbro3319 Yes, for sure! We added 3 volumes (see blogpost) to our nginx one nginx-data, nginx-snippets and nginx-letsencrypt. Now: The first time it's easiest if you simply upload it via UI. THEN: Nginx Proxy manager will create a new folder in your nginx-data volume named after the certificate number e.g. /nginx-data/custom_ssl/npm-2 and here you'll find your two .pem files. So in the future you can just update those via the volume and then trigger a server refresh (you don't haven have to restart the container, you can just trigger nginx config reload inside of the container via script. Here are 2 links: - github.com/NginxProxyManager/nginx-proxy-manager/issues/1618#issuecomment-1203641077 - docs.nginx.com/nginx/admin-guide/basic-functionality/runtime-control/
@watchbro3319
@watchbro3319 8 ай бұрын
@@activenode cool thanks for such prompt response yh I had found the way mention cert paths but unfortunately my org has only subdomain so npm uses that I'll try doing same setup with nginx though.. thank again 🙌 do u guys have a discord though
@Greg0ry002
@Greg0ry002 7 ай бұрын
I'm missing Ansible playbook script to deploy this in one go :D
@shaysframe1472
@shaysframe1472 2 күн бұрын
no but that's why I'm here and I'm confused on minio and docker part as I don't have any experience in docker or what is even minio? 🥲🥲
@MsAlvigo
@MsAlvigo Ай бұрын
After the third thorough installation, I found out following: 1. Right after you set access list in NGINX, you can only manipulate with tables, but not with storage nor users. 2. After FULL installation by the guide, with Authelia, everything works. 3. supabase-vector doesn`t start. 4. supabase-storage & supabase-studio both are in 'unhealthy' state, 5. Error on sending invitation But, main functions works. Great job David ! Thank`s a lot !
@fulltimefrontend
@fulltimefrontend 2 күн бұрын
Watching this for 100th time :) , pls don't delete this video. Setting up my 3rd supabase site.
@acs2777
@acs2777 10 ай бұрын
Omg thanks 🙏 I became subscriber . Anyone giving full guides and not just 5 min versions of KZfaq just to get views is not worth my time because I tend to loose to much time afterward not understand 70% of the full content. Thanks you and keep up the great work and give us more full guides . I just found your channel. ❤
@activenode
@activenode 10 ай бұрын
That's what I do it for. Thanks mate.
@ant1fact
@ant1fact 11 ай бұрын
OMG dude! I literally wanted to try hosting my own supabase on Hetzner this weekend and you upload this! Thanks for saving me from wasting a ton of time 😅
@activenode
@activenode 11 ай бұрын
🎉
@optimbro
@optimbro 11 ай бұрын
Hehe, I was just reading their selfhosting guide last night, and wanted to do the setup on my contabo server. What a timing, this came just right. Thank you for the tutorial, and saving the time as well💓💓
@activenode
@activenode 11 ай бұрын
Enjoy!
@joshuaprecious
@joshuaprecious 3 ай бұрын
Did you pull it off
@optimbro
@optimbro 3 ай бұрын
@@joshuaprecious Hey, I did that time. But, then I went with AppWrite, it was much easier to manage, and setup.
@dipereira0123
@dipereira0123 3 ай бұрын
God knows how much it takes to compress those 45h of work and research into a 35 minute guide for your audience. Def, earned this like comment and subscriber =) Keep up the good work, we are very thankfull
@activenode
@activenode 3 ай бұрын
Thank you so much:)
@activenode
@activenode 11 ай бұрын
Some Hint for Studio + Storage: If you use the Studio Dashboard for File Storage and copy the URL of a Storage File, it might append a "wrong" Port. This is a bug within Supabase and I already opened a Pull Request in GitHub for it.
@activenode
@activenode 11 ай бұрын
github.com/supabase/supabase/pull/17587
@fulltimefrontend
@fulltimefrontend 3 ай бұрын
The last part at from 25:00 made this really exciting. This channel is so under-subscribed, its a hidden gem.
@fulltimefrontend
@fulltimefrontend 6 күн бұрын
3 months later, I still refer this video.
@valirmasha4718
@valirmasha4718 9 ай бұрын
WOW! You bring this up to my head. I'm finding the way to selfhost Supabase with storage. You pull it up. Subscribed.
@SansMoon
@SansMoon 6 ай бұрын
Thanks for the hard work! I just followed your tutorial verbatim over the past couple of days. I realized the hard way that I couldn't host minio/nginx/supabase on the same server, so I tore everything down and rebuilt, excluding minio and opting for remote Wasabi S3. Little bit of wasted time, but no worries Also, I have stopped at the Basic Auth portion and have yet to configure Authelia. Current Issues: 1. Auth: user creation not working from the Dashboard, giving me a "nameserver error". Additionally, using only Basic Auth, an endless loop is created when trying to create a new user with the Dashboard prompting me to enter Basic Auth credentials endlessly. 2. Nginx Basic Auth: this is mainly an issue with NPM itself, but when enabling a "Custom Location", it breaks that proxy (at least when dealing with the supabase dashboard proxy). The temp fix is to add the "location /" as custom code in the advanced tab and it will work as intended.| 3. Logging: you seemed to have missed this part of the setup in your tutorial. Considering port 4000 is by default exposed for the logging service, it might pose a security issue. Additionally, logs are not working at all within the Dashboard using your setup and the current supabase build. 4. S3: following your setup, I had linked up to Wasabi S3 storage (uses the same AWS S3 protocol). It only works half-way out of the box, although I am still isolating the issue to see if it's a IAM policy issue. My bucket is set to allow my S3 user to access all bucket resources and folders, except Supabase will only ADD files to Wasabi, but is unable to delete them. Additionally, manually deleting files from within Wasabi will not reflect those changes inside supabase, making it unusable for S3 storage in it's current out-of-the-box state. Collectively, these issues means the supabase self-hosted solution using your tutorial is not development ready, let alone production ready, so I am continuing to troubleshoot these issues. It is unfortunate that Supabase self-hosted had the potential to be the best self-hosted BaaS on the market, but falls shortly of actually being a useful product, and would be a key primer to have me sign up for their cloud solution. Although, if a company is so willing to waste this much of my time in hopes I'll sign up for their cloud service, I'll be better satisficed searching their competitors' cloud solutions. I am new to backend development and as such setting up supabase has been a terrible experience so far (which activenode's tutorial has made me feel better about). Albeit this was a necessary process to help me understand the difference between company's providing good documentation, and those providing bad documentation. I'm confident in saying supabase seems to suffer from the latter. Being a newbie developer myself (their target demographic), I will seek to avoid supabase self-hosted (and cloud) at all costs.
@activenode
@activenode 6 ай бұрын
Considering point 3: Yeah, it seems like logging is missing indeed, thanks for the hint, I have that on the bucket list of ToDos now but I'm struggling to keep up with the content right now due to work. Stay tuned. Considering Point 4: I can't tell much about this as it had worked in my case wonderfully as shown. Rest assured I'm going to work more on self-hosted stuff once my book is finalized but patience is key here :)
@SansMoon
@SansMoon 5 ай бұрын
@@activenode Appreciate the work! Once it is more stable I will give it a go again for database hosting. I am looking into Directus right now as their self-hosting is a bit more straightforward since everything is contained within 1 service in the .yml file, and they offer the same supabase features + a lot more additional CMS tuned features. If you make videos on Directus + Supabase DB for a secure/production self-hosting tutorial, I will watch those as well! Although, considering Directus supports PostgresSQL, I think a supabase/directus combo might be overkill.
@bm2ilabs
@bm2ilabs 3 ай бұрын
you are a legend, absolutely brilliant thank you for the indepth step by step tutorial
@deankayton
@deankayton 9 ай бұрын
I will soon release basically this, with all infrastructure as code using Terraform and minimal instructions. Thanks so much for this tutorial. Really helpful. I am able to stand on the shoulder of giants!
@activenode
@activenode 9 ай бұрын
Hey there! Sounds cool. You can also take a grain of salt from here, I think they did so too, so maybe it helps getting the very best out of your own solution: docs.digitalocean.com/developer-center/hosting-supabase-on-digitalocean/ . Tell me when it's done and post a link, would love to check it out! 🎉
@deankayton
@deankayton 9 ай бұрын
Thanks. Got that one on my radar, I like your MinIO and authelia steps.
@damienroch2613
@damienroch2613 5 ай бұрын
Hey activenode, thanks you for sharing your hard work, it’s the best tutorial I found. I strongly believe self hosted supabase is a good approach, mainly for EU-based project and GPDR compliance. Even if Supabase seems to work on this subject (with their DPA, TIA, Supabase Inc. entity…), not all is very clear on that. Supabase Docker is the first approach for self hosting, K8s infra would be more suitable for scalability and maintainability but community project for k8s seems outdated. The only way I currently found to self hosting supabase using Docker in a few click is elestio services, which is GDPR compliant too. Another big point is elestio allows you to bring your own VM with their services. But, the dark side in elestio and in your video, is IMHO, the db should be decoupled from the middleware (studio, Kong and sub apis) for some reasons : easier to update the middleware, backup rules differentiation, security, etc. Same thing for storage layer with S3 compatible storage, as u suggest with minio. And idem for Analytics. It would be great if we could use a dbaas for the postgresql, unfortunately no EU hosting (Scaleway, AWS, OVH) allows to use the “not-certified” pg extensions that supabase is built on. Only AWS RDS allows pg_tle for custom extensions like pgjwt, but it’s not yet sufficient. Other point, for production env, I don’t like the idea that postgresql port was open (and don’t know if fail2ban filter for postgres is embedded in docker image). But for migration from supabase CLI (using -db-url), it would be interesting to use something like a bastion and ssh tunneling. Same idea for studio (to be available from another IP/domain). Sorry for long post, but let me know if I can help you on something about these points to think together and with the community ;) About your book, when is it due?
@PhilippBlum
@PhilippBlum Ай бұрын
The Authelia part came really handy for OpenSearch. Thanks for the tutorial :)
@activenode
@activenode 6 күн бұрын
Glad to hear that!
@PhilippBlum
@PhilippBlum 6 күн бұрын
@@activenode It's a little sad though how complex it is to setup. The auth for OpenSearch. Plus, it only supports RSA. 2024 and people still use RSA . . .
@bantwal
@bantwal 10 ай бұрын
Hear that Sigh, wonderful. You are a hero. On the venture to host it on OCI lets see how it goes.
@activenode
@activenode 10 ай бұрын
Thanks a bunch. Wish you the best with the OCI!
@awlhunt
@awlhunt 8 ай бұрын
Awesome explanation and tutorial thank you! I haven’t tried self-hosting yet but I suspect I’ll be moving there before too long so this will be a wonderful help!!
@activenode
@activenode 7 ай бұрын
Glad you liked it 🙌🔥
@evetsnilrac9689
@evetsnilrac9689 10 ай бұрын
🤯😍🤠👊👏 Well that answered the question I had about whether this could be done. Amazing work. Thank you for your effort! Godspeed with your book!
@activenode
@activenode 10 ай бұрын
Thank you so much 💫
@oliverschmidt4055
@oliverschmidt4055 9 ай бұрын
Wow a fantastic tutorial. Thank you very much! After the latest cloudflare problems we need to install our Supabase on our own server.
@activenode
@activenode 9 ай бұрын
Happy you like it! Feedback appreciated.
@this_is_vk
@this_is_vk 5 ай бұрын
Thanks for the hard work. The video was super helpful. I really appreciate you for your efforts.
@activenode
@activenode 5 ай бұрын
You're very welcome!
@boardmain
@boardmain 8 ай бұрын
hi, nice video, A video on how to integrate authentication, for example, through Google would be greatly appreciated, especially in the case of self-hosted solutions
@activenode
@activenode 7 ай бұрын
Written to the idea board, I hope I can get back to it :)
@reanyouda8299
@reanyouda8299 2 ай бұрын
such as amazing tutorial, I love it much
@ant1fact
@ant1fact 11 ай бұрын
Dropping another thank you as I have been continuing to come back to this video to help me out. Btw, have you used Authelia in the past for implementing more complicated auth systems - if so would you recommend it?
@activenode
@activenode 11 ай бұрын
Hey, thanks! Could you specify what you mean by "more complicated auth systems"? Did you mean adding other Auth Methods within Authelia or using Authelia for something like user management? If you constrain the question I can answer it :)
@ant1fact
@ant1fact 11 ай бұрын
@@activenode Hey I've tried to reply twice already but somehow my comment disappeared after trying to edit it. I was curious to hear your opinion about Authelia or potentially other auth libs for the following use-case: social login with scoped jwts (so basically a simplified version of auth0 but self hosted). I also wanted to ask if you have had any experience with Hetzner load balancers? Is my assumption correct that if I used a load balancer then I wouldn't need nginx on the server directly?
@ant1fact
@ant1fact 11 ай бұрын
After trying out multiple libraries, I have settled on Ory Kratos
@ibrahimmohammed3484
@ibrahimmohammed3484 11 ай бұрын
that's very well explained, i will try it myself
@VJBHARADWAJ
@VJBHARADWAJ 10 ай бұрын
Thank you, you’ve earned my respect and subscription
@PhilippBlum
@PhilippBlum Ай бұрын
It's quite annoying that the proxy manager doesn't use TLS by default, or via config flag. But great you later go over this.
@buxx5334
@buxx5334 Ай бұрын
Hey men. thank u for sharing your knowledge. but why i can't see settings button, can u help me with that?
@DannyGerst
@DannyGerst 6 ай бұрын
I was so happy to see this guide, but still struggeling with minio. I can not login into the dashboard. So I digged around for an hour until I gave up .... for now ;-) But I can see how much effort it have taken to create this tutorial it is everything but easy.
@activenode
@activenode 6 ай бұрын
I'm so sorry to see that for some people it works and for some it doesn't. What was your setup like? Where did you try it? Keep up the good work!
@DannyGerst
@DannyGerst 6 ай бұрын
@@activenode Thanks for your answer. I did the same as you did, but I struggeled with the login to minio. It seems to be so complicated. I can see that credentials are correct on the docker container, but it is simply not working. Read a lot about it find a hint with certificates?! I stopped and setted it up without minio and it is working. The frontend you used instead of Basic Auth is really great. Thanks to save me hours of trying with this guide.
@ert5755
@ert5755 5 ай бұрын
@@DannyGerst I also have the same issue -"Invalid Login" error from Minio. Try to solve it. I am using exactly the same credention that I have provided in docker-compose.yml file @activenode thanks for a tutorial! Catch a coffee
@ert5755
@ert5755 5 ай бұрын
I solve the problem: previously I used AWS Linux OS. When try to deploy again on Ubuntu OS it works. I guess IT a matters of firewall settings
@katzenschildkroete
@katzenschildkroete 22 күн бұрын
How do you upgrade the version of the backend services if supabase pushes new changes? Resolve merge conflicts whenever you pull from the upstream supabase repo?
@eliluong
@eliluong 7 ай бұрын
thanks for the great tutorial! really helpful with authelia.
@Tonkuz
@Tonkuz 11 ай бұрын
Man You did a fantastic Job , thanks :)
@activenode
@activenode 11 ай бұрын
Thanks a lot :)
@linushestermeyer4146
@linushestermeyer4146 9 ай бұрын
If this works, you are my favorite KZfaqr.
@activenode
@activenode 9 ай бұрын
I better hope it does!
@saranr1467
@saranr1467 5 ай бұрын
Excellent coverage , thank you
@yelchat
@yelchat 11 ай бұрын
Love this one
@activenode
@activenode 11 ай бұрын
Awesome you found it useful!
@user-ev8eg7nq7o
@user-ev8eg7nq7o 8 ай бұрын
omg, thank you man! this is what i need :D, You pull it up. Subscribed. is there a way to configure the self host supabase with an extenal postgres database?
@activenode
@activenode 8 ай бұрын
Thanks so much. Considering external DB: Theoeretically, it's doable. It's on my long bucket list of things I want to evaluate. In one week, there's also Supabase Launch week, so I'm waiting to see if there are any major changes that would make external databases easier to implement.
@dozzauklondon2681
@dozzauklondon2681 26 күн бұрын
The Vector setting is missing in the code downloaded actually. Doesn't match the one you got in video.
@lars-sorensen
@lars-sorensen 7 ай бұрын
Best video on this topic on youtube! Any chance you'd do a video where you spin up a server with Typesense and do the proper connections to the supabase server to use it as a serchengine for content in the Supabase db?
@activenode
@activenode 7 ай бұрын
I've written it down on the big ToDo List so I might come back to it :)
@comedyclub333
@comedyclub333 4 ай бұрын
After adding the domaind and creating the SSL certificate for the nginx proxy manager itself you should go back into your docker compose file and remove port 81 from being exposed. By default, you exposed ports 81, 80 and 443 and since you are now exposing the proxy maanger via port 80 and 443 via the domain, you don't need port 81 anymore and you should remove it.
@andrew.derevo
@andrew.derevo Ай бұрын
❤ good job 👏
@ROBOROBOROBOROBO
@ROBOROBOROBOROBO 3 ай бұрын
Man this is great, thanks a lot, just subscribed I want to start Supabase as a newbie programmer and wanted exactly this video. Are there any limitations to Self Hosting features, compared with the paid Cloud options? I couldnt find a feature comparision table anywhere
@user-wq1yj1fs3c
@user-wq1yj1fs3c 8 ай бұрын
I pointed 2 ip adresses (S3 storage& supabase) from CF without DNS proxy to my domain and I still getting internal error while I try to adding S3 to proxy list nginx
@activenode
@activenode 8 ай бұрын
Hey, which exact error are you facing? Do you have separate servers?
@IncirDev-sq7cb
@IncirDev-sq7cb 3 ай бұрын
very detailed tutorial, thanks. But need explanation on how to configure custom domains, how to point them dockerized nginx
@activenode
@activenode 2 ай бұрын
Isn't this what I show in the video? What are you missing? Cheers
@sjtrader1363
@sjtrader1363 7 ай бұрын
I think following the supabase docs for self hosting is much simpler. After watching this video, i checked docs and there were just 4 commands. I thought no way these 4 commands will run the self hosted supabase. I was so much sure that this won't work that i didn't even change the env file and after running the docker compose up command viola it is working.
@activenode
@activenode 7 ай бұрын
Sure, if that's what you want, it will definitely spin up a Supabase with basic auth and no https and no domains. So in it's default state, especially with unchanged env, the docker spin up from the docs is not meant for production.
@shaysframe1472
@shaysframe1472 2 күн бұрын
I hope soon you can afford an AC... your contents are gem! thanks for the tutorial even though I didn't understand a lot but planning to look into the tutorial again in the future with some basic knowledge of docker and other things you've used.!! 🥲🥲
@Chirag-Redij38
@Chirag-Redij38 8 ай бұрын
So that instance is globally accessible but looking at that UI, does that support collaboration? Like adding team members?
@activenode
@activenode 7 ай бұрын
With authelia, definitely. There's often a misunderstanding of what Supabase is. This is leading to thinking Supabase has "less" features when self-hosted. That's not really true. It's just that some parts aren't part of the service Supabase but of the infrastructure and that is what supabase.com does: They implemented basically a wrapper to manage multiple Supabases and on top of that added their own Auth (which is not the same as using Supabase Auth). And in this tutorial I do the same with authelia :) You can check their docs to see how to add more users. Cheers and have a great day!
@abdullahsiddique6393
@abdullahsiddique6393 11 ай бұрын
Thank you!
@activenode
@activenode 11 ай бұрын
Welcome!
@coIin
@coIin 9 ай бұрын
Hey! Would you say the server backups on Hetzner are sufficient for the database or would you use a different system/location for backups? I don’t want data to get lost and I’m not sure how good Hetzners backup systems are.
@activenode
@activenode 9 ай бұрын
Hey there! Personally, I would. I have high trust and good experience with Hetzner for more than a decade. If you enable Backups, you get trustworthy backups. However: From a paranoid consultancy perspective, time has shown that huge companies (e.g. GitLab) loose data too. So if your Business was a super high risk Business with e.g. multiple clients depending on you and paying you then I'd consider using multiple Backup systems / Locations. Not an easy question to answer generically
@coIin
@coIin 9 ай бұрын
@@activenode Thanks! I went with the paranoid consultancy perspective and added another backup system on top that dumps the database to the Google Cloud.
@tradingindian
@tradingindian 11 ай бұрын
Hey David, one of the best tutorials I have seen on KZfaq. To the point, unpretentious, practical. I have now gone through the video, back & forth, probably 50 times. I have setup everything and it seems to work but with one glitch. I have setup Minio on Hetzener and configured. I can create a folder in Studio and see the folder. However, the folder/bucket is not visible in Minio dashboard inside supabase bucket. I can upload file in Minio dashboard and it works fine. When I try uploading the file from Studio, it just shows uploading one file and stays there. Any suggestions on how to resolve this?
@activenode
@activenode 11 ай бұрын
Hm. Have you tried looking at the logs? docker compose logs. What do they say in the exact moment when uploading fails? Do you have the bucket created in minio? Namely supabase in my case. Please note: Creating Folders in Supabase is kinda different to uploading actual files. So it might seem that it "works" but in fact it does not. So I'd assume there's no connection at all to MinIO in your case.
@activenode
@activenode 11 ай бұрын
Also: Feel free to send a link to your current docker compose file and I can have a look
@tradingindian
@tradingindian 11 ай бұрын
@@activenode Thanks for your quick response. I have checked logs already but failed to find anything. Also, the bucket is named supabase as in your case. I can send you link to docker compose file or the file itself by email sincere there no way to send direct message on KZfaq. I tried looking for your email on your website but couldn't find one. Let me know the best way to reach you. Also, thank you so much for helping out.
@activenode
@activenode 11 ай бұрын
​@@tradingindian Try sending to info@activenode.de
@tradingindian
@tradingindian 11 ай бұрын
@@activenode I have sent you the file by email
@traitpichardo2046
@traitpichardo2046 Ай бұрын
Thank you
@masu4644
@masu4644 5 ай бұрын
Why is the configuration tab greyed out in storage and authentification? I have the same issue in my self-hasted supabase
@becomes
@becomes 5 ай бұрын
Thanks for the guide! I was wondering is this only for 1 supabase project? Do I have to selfhost another instance to get more projects?
@activenode
@activenode 5 ай бұрын
Yes it's for one. Supabase.com itself is an infrastructure deploying ONE instance per project, that's why you'll have different URLs. So if you want to deploy more, you can but you need to deploy all services for each project again.
@bootboot3636
@bootboot3636 11 ай бұрын
I have run on an arm server, and the s3 storage does not work. There are problems with the sdk version.
@activenode
@activenode 11 ай бұрын
So minio not working on ARM? Or supabase?
@bootboot3636
@bootboot3636 10 ай бұрын
@@activenode ​ supabase-storage container, the message error (node:1) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
@bootboot3636
@bootboot3636 10 ай бұрын
@@activenode there is an open issue in supabase storage-api repository
@activenode
@activenode 10 ай бұрын
@@bootboot3636 Nice you found it. Care to share the link?
@bootboot3636
@bootboot3636 10 ай бұрын
@@activenode github.com/supabase/storage-api/issues/351
@alastairtheduke
@alastairtheduke 6 ай бұрын
Great work. Could you do a tutorial on how to enable logging in supabase?
@activenode
@activenode 6 ай бұрын
Good one. I put that on the bucket list!
@alsherifkhalaf7385
@alsherifkhalaf7385 11 ай бұрын
Your way of explanation helped me a lot ❤ I have a question , why you didn't use Hetzner's Object Storage , it's cheaper than using an instance ?
@activenode
@activenode 11 ай бұрын
Thanks, much appreciated, always looking for feedback! Lovely Idea, multi-faceted answer: 1. I actually wanted to go with MinIO to keep it as generic as possible to make it work whenever/wherever (and then people can choose) - minio has built-in replication so you could use like 10 Copies across multiple different hosters for Safety over 9000 🚀😎 2. The Hetzner Object Storage doesn't state anything about being S3 compatibility which very much indicates that it isn't S3 compatible, which would be lovely though. But probably you meant: You could use the Storage Box as a Volume and then just not use S3 (as shown in the Video) but Volume mounts in the docker compose. Then the answer is basically answer 1). In most of my cases the instance would do just fine with "only" 40GB of Space. But when you'll have a production Page which has massive file usage on your Supabase Storage, for whatever reason, then you will need to use Storage Boxes on Hetzner, yes. Even more so in that case I would probably go as far as saying I have an instance running MinIO but MinIO is using the mount from the Storage Box - this would be massive flexibility. Or I would go ahead and search a different hoster for the Storage part only. Good thoughts, hope the answer wasn't too long.
@alsherifkhalaf7385
@alsherifkhalaf7385 11 ай бұрын
@@activenode appreciate your answer 👌 I will give a try to install supbase on contabo instances and using thier compatible s3 storage buckets. I tried to sign up for Hetzner but they don't accept me as I am Egyptian 😅 So I will try on Contabo Thanks for your helpful tutorials 🌹❤️
@abhinavgupta2659
@abhinavgupta2659 9 ай бұрын
@@alsherifkhalaf7385 And I thought they had something against us Indians only...😅
@boardmain
@boardmain 9 ай бұрын
nice article, thank you
@sidox9665
@sidox9665 9 ай бұрын
Hi! Thanks for this tutorial. Very well structured and I could easily understand everything. Unfortunately, right at the end I cannot get the dashboard working correctly. So in Nginx Proxy Manager I did not add any Custom locations (as I think you meant to say in your blog) and instead only pasted the custom config. When entering the dashboard, basic authentication does not work anymore, I can access everything without any login. (When I do it the 'old' way with custom locations, this works) Either way, in the dashboard I can neither create new users (Failed to create user: invalid JWT: unable to parse or verify signature, signature is invalid), nor access access Storage. (400 GET /storage/v1/bucket). Do you have an idea whats going wrong here? I generated my JWT Secret the way you suggested in your blog.
@activenode
@activenode 9 ай бұрын
Hey there, happy to help. So first things first, you only want htaccess for Studio, without Authelia. I'm actually showing how to do that in the video. The original htaccess protection we removed by removing Studio from Kong routing. Now we route with the proxy manager and I am showing in the video in the Dashboard part how to do the basic protection without Authelia. Have another look, this should really solve the protection problem as its covered. Considering the second issue: That's rather unusual. When you changed the JWT before setting everything up, it should work as expected. The only thing that I can imagine where it does not work is when you just change the JWT after having span up everything because then there would be a mismatch with the JWT the system was setup (the standard one) and the one you changed. Let me know if you need further assistance.
@sidox9665
@sidox9665 8 ай бұрын
​@@activenode Sorry for getting back to you so late. I tried to set it up again from the start and ran into the same issues. Basic Auth stops working as soon as I add the Advanced Configuration (4.2. in your blog). Storage responds with "unable to get owner" and I still get "Failed to create user: invalid JWT" when trying to create users. Even though I definetily changed it before setting up my server. Any idea what I could do to proceed?
@activenode
@activenode 8 ай бұрын
Will have another look once I am fit again
@sidox9665
@sidox9665 8 ай бұрын
@@activenode Thank you so much for taking the time!
@sidox9665
@sidox9665 8 ай бұрын
Still did not get it to run with Basic Authentication, but Authelia runs just fine - so I'm sticking with that. Thank you!
@sabahsaeedi9551
@sabahsaeedi9551 11 ай бұрын
Hay Man I really appreciate you ,cos after 1 month I can find out ,one of the best video about supabase-selfhosted,You are perfect man ,I appreciated you again and again God bless you
@activenode
@activenode 11 ай бұрын
Thanks so much, very happy that it helps. If you face any problems with this setup please report back 💙
@sabahsaeedi9551
@sabahsaeedi9551 11 ай бұрын
🌹🌹🌹🌹🌹 Excellent 🦁 🌹🌹🌹🌹🌹
@reanyouda8299
@reanyouda8299 2 ай бұрын
i cannot get in my S3 dashboard incorrect password and username
@dipereira0123
@dipereira0123 2 ай бұрын
Legit question: Does the Self hosted version supports Users(creating users via studio Authentication)?? I thought i was breaking some configuration, but even with vannila install (without any config changes it always crashes with "canot fetch")
@activenode
@activenode 2 ай бұрын
Yes, sure it does! This should work. I haven't tried it in a while as I'm currently on the Supabase book writing process (supa.guide) but this does work (rn doing this with k8s). Have you checked the linked blogpost?
@rohan7011
@rohan7011 Ай бұрын
Hi, How do i setup real-ip?
@realatok
@realatok 11 ай бұрын
thanks for the video. it really helps. but do you know how to decouple the database? :)
@activenode
@activenode 11 ай бұрын
Decoupling the Database / Scaling is on my bucket List for Videos but don't expect it anytime soon, sorry, KZfaq is still a hobby project and it needs a lot of time. But at one point of time I'll definitely try to make it.
@aFancyFatFish
@aFancyFatFish 9 ай бұрын
Thank you so much for your instruction!!! But is there anyone who followed the instructions who can use the "realtime" database feature without issue? When I subscribe to the channel or db change it always shows connect to websocket fail in the browser console. I know maybe this is not a good place to ask questions but I have tried everything I can to solve it but still have this issue. If anyone can use this function please let me know so I know at least it is solvable! Thank you all for the help!
@activenode
@activenode 9 ай бұрын
Hey man. Unusual. The realtime function is actually definitely one I checked and it worked with me. Are you sure you activated WebSocket Support in your Proxy settings?
@aFancyFatFish
@aFancyFatFish 9 ай бұрын
@@activenode Wow thank you so much for replying me! Yes, I do set the proxy for the api has websocket support toggle on. But I am not sure if it is truely activated since I found the access list setting also has no effect on the proxy( no password prompt when access the url for dashboard) . But thank you thank you let me know you tested the realtime function. I will start over again to see if I can solve it!
@activenode
@activenode 9 ай бұрын
@@aFancyFatFish Alright! Make sure to also read the additional info given in the description
@aFancyFatFish
@aFancyFatFish 9 ай бұрын
@@activenode Yes! I am following you video as well as you blog posted on food for developers! ❤️
@QoP..
@QoP.. 5 ай бұрын
Did you ever solve this issue? I'm running into this issue right now
@ralphpichler6635
@ralphpichler6635 18 күн бұрын
I get a internal server error after I want to set up SSL and click on save, anyone else as well?
@ralphpichler6635
@ralphpichler6635 18 күн бұрын
I fixed it, guys don't forget to add a wildcard infront of your domain for subdomains....this costed a lot right now hahah
@ralphpichler6635
@ralphpichler6635 18 күн бұрын
Now everything works....you are the fucking man haha thanks for the vid
@nigelnyakudya2262
@nigelnyakudya2262 9 ай бұрын
Great video bro thank you so much.. one question what are the tradeoffs of this solution compared to the one hosted by supabase.
@activenode
@activenode 9 ай бұрын
Well, you have to take care of it. So whilst Supabase paid version will allow you to request support for upgrading to the newest version, with self-hosted you are on your own. Also, you are obviously on your own in any case of problems. The self-hosted version doesn't do auto-backups so, as stated in my video, use something like the Hetzner backups to achieve that. For most people the differences are neglectible but e.g. self-hosted Edge functions will not be distributed across multiple servers (obviously because you self-host them). The supabase.com Edge functions use the deno.com/deploy and hence can distribute across the world. The upside of self-hosting: You can choose a cheap but fast server close to your location and be independent from any issues, like cloudflare problems that recently happened. With GDPR regulations in place I'd recommend self-hosting as you wouldn't be 100% safe with supabase.com . You're in full control. I love both and I have both, self-hosted as well as projects on supabase.com
@nigelnyakudya2262
@nigelnyakudya2262 9 ай бұрын
The reply is so detailed thank you, do you have any idea regarding supabade graphql can even find one tutorial on youtube. @@activenode
@ricardocaldeira5
@ricardocaldeira5 11 ай бұрын
Great job! It would be perfect if we could use supabase to authentication instead of authelia.
@activenode
@activenode 11 ай бұрын
Well, Supabase uses the GitHub Login. GitHub Login can be enabled with Authelia, as far as I know :)
@noneasdf
@noneasdf 6 ай бұрын
When I try to connect to the dashboard I keep getting secure connection failed. I think this has to do with something in the .env but I am not sure. Any help would be appreciated!
@activenode
@activenode 6 ай бұрын
Did you follow the exact same setup as in the video? (please also check my additional notes considering the extra stuff I added in the blog article)
@acemavie1
@acemavie1 5 ай бұрын
I followed along the tutorial but when I got to the nginx proxy manager part. I got the proxy all working and I secured the proxy manager itself but when I got to the supabase api. Completed it and it said 502 Bad Gateway, Openresty. I tried alot of different stuff but I couldn't get it to work. And I tried to setup the studio too but the same situation with that. Docker says that containers are running and I tried restarting them numeros of times.
@Melf11
@Melf11 4 ай бұрын
i hat the same issue. The problem was that i had the nginx proxy manager in a different docker container than the supabase studio and api. Be sure you're running the proxy manager for supabase in the same docker like the supabase stuff
@acemavie1
@acemavie1 4 ай бұрын
@@Melf11 do you mean like the same docker-compose file? Beacuse I did have the nginx proxy manager in a different docker-compose file
@undiscoveredshorts
@undiscoveredshorts 9 ай бұрын
I respect the process that you had to go thru to get this done but there are quite a few errors in the tutorial since nowadays Supabase has a lot of new features and such. It would be nice for you to do a new tutorial with these features.
@activenode
@activenode 9 ай бұрын
Thanks for the Feedback, can you pinpoint a few of the points so I can check them out specifically?
@undiscoveredshorts
@undiscoveredshorts 9 ай бұрын
@@activenode Thank you for the quick response, I'm getting errors when using docker compose pull stating that "Additional property nginx is not allowed."
@undiscoveredshorts
@undiscoveredshorts 9 ай бұрын
@@activenode So my issue with this is because I was trying to run nginx proxy manager on a server that already had nginx proxy manager setup for s3 storage.
@activenode
@activenode 9 ай бұрын
@@undiscoveredshorts Alright then why don't you reuse that proxy manager? You could also rename it but then you'd have two proxy managers which cannot listen on the same port so I wouldn't do that. Or, if S3 is already running, you could just get rid of the existing proxy manager and add the s3 docker image with the existing volume to the Supabase docker-compose.yml . Last but certainly not least you can reuse the existing proxy manager by creating a docker network like "sharednginx" or so (docker network create sharednginx ) and add the nginx proxy manager that you have to it as well as add the external: networks definition to the supabase docker-compose.
@bilaltoor11
@bilaltoor11 5 ай бұрын
hello sir everything is working now after 3 to 4 days of working but 1 issue is still remaing 23:09 time of the video where you setup the storage in my case without custom location dashboard is working if i configure as you my dashboard is not working when the dashboard is working storage is not working 😂😂 tell me the solution
@activenode
@activenode 5 ай бұрын
Hey there! Have you also checked the blog article where I added Updates in section "Make it run" ?
@duwey820
@duwey820 7 ай бұрын
Thanks for the guidance, noobs question, how do we evaluate the benefit of self-hosting? Is it going to be more cost effective? Thanks!
@activenode
@activenode 7 ай бұрын
Let me put it like that: Usually, you don't want to self-host. Even if you later want to, you can migrate easily with my other video kzfaq.info/get/bejne/pN-IkqiqzNbQiIU.html. You are right, it can be more cost effective and especially because of the limitations of such as Realtime, also just recently discussed here www.reddit.com/r/Supabase/comments/15f6h0j/what_do_you_want_to_know_about_supabase_for_real/khehosj/?context=8&depth=9 . The reasons for self-hosting can be multiple: Hitting realtime limits (10k is a lot but not a lot for e.g. WhatsApp with millions of users), needing it for legal reasons (EU data protection as right now Supabase is not 100% GDPR compliant), etc. But I always recommend to start off with the supabase.com variant first to not have the costs of infrastructure at first, especially for lone coders. If you're in a big team and have infra people available, just discuss it within your team. Otherwise, maintaining it mostly will be not cost effective (in the beginning) as the maintenance itself costs more time than just paying for SaaS. Cheers!
@duwey820
@duwey820 6 ай бұрын
@@activenode Thanks for the detail explanation and resources! Valuable advice for starter like me to think about the trade-off! Appreciated!
@4ida
@4ida 10 ай бұрын
it's not the exact match like cloud, there's no multiple databases, multiple users etc etc
@nursultans763
@nursultans763 6 ай бұрын
Hi! I ve a problem which says "unauthorized, sign ups are disabled " how to solve it
@activenode
@activenode 6 ай бұрын
Sorry to hear. Did you follow the exact same setup as in the video? Including the steps from the blog article that I linked in the description?
@AlfredoPinto
@AlfredoPinto 6 ай бұрын
Sir, this is a great video, but can you tell us how do you setup the dns server ?
@activenode
@activenode 6 ай бұрын
Can you specify the question? Not sure if I got it right
@BGdev305
@BGdev305 4 ай бұрын
Genius
@alexanderwesselburg9233
@alexanderwesselburg9233 10 ай бұрын
@activenode Thanks for the great Tutorial. Currently I get the follow Error, if I try to upload an file to the Storage: "Failed to upload example.pdf: headers must have required property 'authorization'" any ideas ?
@activenode
@activenode 10 ай бұрын
Have you checked my linked article again to confirm everything is correctly set up? There are some Updates in the video description to properly forward stuff.
@activenode
@activenode 10 ай бұрын
When does that Error come? When you Upload via Dashboard?
@ephraim-duncan
@ephraim-duncan 5 ай бұрын
Hii, I did self host it but I am unable to get the external url to use the database, there isn't a lot of docs on it. What do I do?
@activenode
@activenode 5 ай бұрын
You have to make sure that the docker-compose.yml is correctly configured to expose the database port. Check the database section of the docker-compose.yml where it is outcommented per default (I think I mentioned that in the video). If that's given your database base URL is your server URL where the docker-compose runs, including the correct port
@Sansalvador67
@Sansalvador67 2 ай бұрын
Hey my Man, i get an 403 "bad_jwt" "invalid JWT: unable to parse or verify signature, signature is invalid". Any ideas?
@activenode
@activenode 2 ай бұрын
Shouldn't happen. Have you tried generating one at supabase.com/docs/guides/self-hosting/docker#generate-api-keys ?
@Sansalvador67
@Sansalvador67 2 ай бұрын
Yes, but these where invalid. I used one generated by a python script and it worked. I have no idea how and why but it works
@activenode
@activenode 2 ай бұрын
@@Sansalvador67 Indeed weird but wonderful you got it working. keep rockin!
@coIin
@coIin 10 ай бұрын
Hey there! It all works for me, except one thing: auth. It looks like the authelia_session cookie isn't sent when I request /auth/v1/users (that's what happens when you click "Create new user" in the dashboard), therefore the request is unauthenticated and it gets redirected to the login page. I've followed the additions in the description, but that doesn't change anything. Any idea on why that happens? I feel like some additional configuration for the auth endpoint is missing.
@activenode
@activenode 10 ай бұрын
Hey man. Yup, I can confirm this. Will follow up. Probably a small fix.
@coIin
@coIin 10 ай бұрын
Awesome! Thanks for sharing this tutorial - it probably saved me a lot of headache. 😉
@activenode
@activenode 10 ай бұрын
Okay so what I found out is that in this specific request the Request Header "Cookie" isn't passed (which contains the authelia session) and hence authelia wants to redirect - breaking the request. So far. I'll keep you posted. This doesn't harm your api however, it's only annoying in the studio.
@activenode
@activenode 10 ай бұрын
I found the issue and it's rooted in the Source Code of Supabase here: github.com/supabase/supabase/blame/072222523afe612d575c2ff7e73e514692f545af/studio/data/auth/user-create-mutation.ts#L50 I created a fix here: github.com/supabase/supabase/pull/18156
@coIin
@coIin 10 ай бұрын
@@activenode Yup, that's exactly what I noticed as well. The authelia session cookie is missing for that request, and I'm not sure why. It works for all the other routes.
@rec-trick
@rec-trick 8 ай бұрын
I want to create applications and websites on self hosts to reduce the cost, but when using S3 or Cloudinary the cost is large, so what is the benefit of a private server if the rest of the technologies return the same cost!!?? Do the hosts not provide good handling of files and videos?
@activenode
@activenode 8 ай бұрын
That's hard to answer without knowing your target projects. Honestly, if your only looking at costs, 25$ on supabase.com with included 100gb of storage is a pretty fair price allowing you to be careless about maintenance etc. So the question is rather: What do you need? How much storage does each project realistically need? After having talked to the CEO of Supabase he said you might even be faster without using S3 at all as there is no additional server - but then of course you need more performance on the server where you run it. On Hetzner you get the CAX31 for example for around 15 bucks with 160gb storage included - which is a little bit cheaper but then again: If your only looking at the price I'd happily pay 10 bucks more and have the SaaS version on supabase.com . So it depends. Self-Hosting also doesn't reduce costs because obviously you have to run maintenance and updates which costs time and time is money.
@rec-trick
@rec-trick 8 ай бұрын
I am trying to provide applications like Tik Tok that depend on displaying Swipe products like Tik Tok, and I need a good performance at a small cost. I was thinking about contabo vps, but I do not understand why the applications upload the project to one server and the media to another server, as the prices of VPS are very cheap and make it possible for you to obtain the capabilities. Powerful, so do we need dedicated video servers? The reason for trying to stay away from supabase is that 25 in our country is a large price due to inflation, so can I rely on VPS and get a good video playing experience?
@activenode
@activenode 8 ай бұрын
Hey man. Reasonable performance at very low cost is possible without the need of storage/streaming. > but I do not understand why the applications upload the project to one server and the media to another server, as the prices of VPS are very cheap and make it possible for you to obtain the capabilities. As I said in the video, you don't have to separate! Grabbing a file is probably faster as the server doesn't have to do another DNS lookup. The reasons why many people do this are multiple but let me state the most important: 1. S3 has built-in replica support. So people can just scale another 5 servers of the same S3 and have 4 backup servers which they can switch to. 2. Storage Servers need less overall power if all they do is about storage and nothing else. Hence, you get more storage at a cheaper price (as you mentioned contabo: contabo has Storage VPS which has less power than normal VPS but bigger hard drive) 3. Your power on a system is limited by all means (CPU, read-write on the hard-drive, bandwidth, etc.). So whilst your VPS is busy dealing with grabbing and delivering files, you'll have less performance on your same server which also runs the application (but for most of my projects which are not media-focused, this is totally fine). > The reason for trying to stay away from supabase is that 25 in our country is a large price due to inflation, so can I rely on VPS and get a good video playing experience? You have many many ways of ensuring a good video playing experience. Compressing videos without noticeable quality loss, setting the cache headers right, another one is using free CDNS (www.cloudflare.com/application-services/products/cdn/#CDN-Page-Pricing-AS). So it's really not all about "server power". There's more about this on the internet. I also think there's this flaw in the way of thinking that many people have in programming: "I have to find the solution that will still be good if I grow". But in fact, you don't. Let me explain. Considering this fact you have given, I am quite sure that your project is not making money at this point because you have no income on the project that would cover 25 bucks. This implies that you have no paying users right now or whatsoever. So I might be right in assuming that right now there's no such thing as "heavy load on the server" or so but you're only thinking about solutions in terms of "what if". I can totally understand that fear, but this fear is not helping in development of your project. So here's my proposal: Start with the cheapest solution you can get, e.g. one VPS, develop your application, optimize where you can (as I said above) and once you feel like hitting a limit it might be that it's because your app has grown and hence generates money and from there you can take that money and scale to more servers / bigger servers / supabase.com .
@traitpichardo2046
@traitpichardo2046 Ай бұрын
Would this be easier using coolify self hosting?
@activenode
@activenode Ай бұрын
Hm, not really. Depends on "easy". Coolify has its own constraints. I use coolify as well but it's other things to adapt then. So I wouldn't necessarily say it is easier
@sujaritnrc
@sujaritnrc 8 ай бұрын
hello, i have just install from supabase docs, but when I upload file to storage or create folder it does not work. Can't create folder or upload with 0% upload. could you told me what this happen?
@activenode
@activenode 7 ай бұрын
Hey man, I'm seeing some people having issues like that, with others it does not happen. Have you checked the blog article linked in the comment as well? After the video I updated a few things there
@sujaritnrc
@sujaritnrc 7 ай бұрын
@@activenode It's working. Thank you but I can't get "Get Url" when I click on image to get public url that was uploaded to storage. Could you please help with this final problem?
@SR-zi1pw
@SR-zi1pw 11 ай бұрын
Nice video
@handler_k
@handler_k 2 ай бұрын
Is there a way to enable edge functions in this tutorial?
@activenode
@activenode 2 ай бұрын
They are active! Here's how: In every project, no matter if Cloud, self-hosted or locally, the URL to an Edge function is API_URL/functions/v1/function_name . Now on self-hosted, you need a way to get the functions there as `supabas functions deploy` only works with cloud. This is done with a docker volume which by default is found in the docker-compose.yml under functions.volumes (usually on your server where you execute the docker-compose.yml it's ./volumes/functions)
@handler_k
@handler_k 2 ай бұрын
@@activenode thank you! great (unique) tutorial
@activenode
@activenode 2 ай бұрын
@@handler_k Thanks so much
@user-un5zn7fq8y
@user-un5zn7fq8y 7 ай бұрын
Hey, first of all such a great tutorial. Is it possible to do this with kubernetes?
@activenode
@activenode 6 ай бұрын
Yes, sure! Just a different setup. Kubernetes + Traefik is a good one
@user-un5zn7fq8y
@user-un5zn7fq8y 6 ай бұрын
Thanks for the reply, have you thought about making a tutorial for it? I think noone else has done one before :) @@activenode
@nocodecreative
@nocodecreative 11 ай бұрын
Is there a way to have more than one supabase project on one server?
@activenode
@activenode 11 ай бұрын
Yes by separating through Docker - which this video already mostly does. The easiest solution, if you are not familiar with Docker, the easiest way to separate those container names is probably 1. docker compose --project-name YOUR_OTHER_PROJECT but then you also need to create a shared Docker network and remove the Proxy Manager from both docker compose files and then have it started in its own docker compose file basically (alone) and then you need to add the shared network to it. So tl'dr: That isn't all too much a Supabase Infrastructure Question but more a Docker question which goes beyond the scope of this Video.
@nocodecreative
@nocodecreative 11 ай бұрын
very cool - how can I migrate my project from supabase cloud to the self hosted version? Also, what is the cost of all this and (I'm new to this) do I need to change my dns records for this to work?
@activenode
@activenode 11 ай бұрын
Yeah. All of the Domains used in this Video have to point to the IP of the Server where you install it. So yes, DNS changes required. Migration is mainly done by exporting your whole Database first with pgdump. But if you would say you're rather a Beginner in this field I would probably reocmmend to export every table one by one (if you don't have like 1000 tables). So recreate your structure in your self-hosted instance and then just copy over the data as a naiive approach. But maybe this helps: ironeko.com/posts/creating-a-local-backup-of-a-supabase-database
@activenode
@activenode 11 ай бұрын
@@nocodecreative can you share your a Link to the Compose File? E.g. via GitHub Gists ?
@nocodecreative
@nocodecreative 11 ай бұрын
@@activenode thanks - I've got it running, however, the API isnt working at all, just lots of errors. I'll see what I can get together for you. Thanks!
@nocodecreative
@nocodecreative 11 ай бұрын
I do but it wont let me post a link! The api docs have not self-generated @@activenode
@activenode
@activenode 11 ай бұрын
@@nocodecreative It won't let you post a link? Let me try that: supabase.com . I mean if you remove the at least it should allow you to post the Text right?
@user-gg3ss6ey7p
@user-gg3ss6ey7p 10 ай бұрын
Hey @activenode great stuff ! was wondering how I could have a on-prem setup (without cloud like hetzner) but connect to local s3 minio - is this actually possible?
@activenode
@activenode 10 ай бұрын
What exactly do you refer to with on-prem? supabase.com plus own S3 ? Or another provider setting it up for you and you want to configure S3? Does that reflect your question?
@user-gg3ss6ey7p
@user-gg3ss6ey7p 10 ай бұрын
@@activenode was thinking supabase run on docker locally, and Flyte (they have minio S3) spun locally too -
@activenode
@activenode 10 ай бұрын
@@user-gg3ss6ey7p That should work. I mean you can connect Supabase with the given configuration with any S3 compatible service. Hope I understood you correctly.
@user-gg3ss6ey7p
@user-gg3ss6ey7p 10 ай бұрын
​@@activenode Ok! So as I understand it I can skip removing kong, adding nginx and authelia - but only change the storage in the docker compose?
@greendsnow
@greendsnow 4 ай бұрын
Can we do it with Caprover?
@activenode
@activenode 4 ай бұрын
Sure, but it needs a one-click recipe as per default it cannot simply run docker-compose.
@ppauloaugusto
@ppauloaugusto 9 ай бұрын
show de bola!
@Anarki9891
@Anarki9891 10 ай бұрын
Can you give a demo on connecting an OpenId Provider to supabase auth?
@activenode
@activenode 10 ай бұрын
Hey man, thanks for the request. Can you specify what you mean? Connecting OpenID to protect Supabase Instance or connecting OpenID to be used by the users in your Supabase Instance?
@Anarki9891
@Anarki9891 10 ай бұрын
@@activenode I’ve been trying to use a tool like keycloak which allows me to connect to our ldap and then provides an openid connector for your application. I’ve been having issues with setting up the various redirect urls that the openid connector requires.
@deankayton
@deankayton 9 ай бұрын
That proxy manager looks like a pain in comparison to Traefik.
@activenode
@activenode 9 ай бұрын
Thanks for pointing out. As always: That's in the eye of the beholder / target group. As opposed to traefik, nginx is a little bit more known and well-documented and hence configuring npm manually is as easy as googling for nginx solutions, nginx proxy manager is a widely spread solution. That's why I chose it for the tutorial. From the perspective of someone loving infra-as-code I can definitely see where you are coming from. What do you love most about Traefik? And before having used Traefik, what did you use in the older times? Cheers
@Web-Pirat
@Web-Pirat 5 ай бұрын
Hi when i try to route ngnix to kong i always get bad gateway any idea whats going on ?
@Web-Pirat
@Web-Pirat 5 ай бұрын
rephrase that i fixed it now but the supabase storage doesnt work "because it violates the following Content Security Policy directive: "default-src 'self'" by any chance did u try it with storage and thanks for your awesome guide and time!
@Web-Pirat
@Web-Pirat 5 ай бұрын
and nevermind again i forgot to use https in the env file :) thanks again for the guide and the rubber duck suppport :D
@activenode
@activenode 5 ай бұрын
The Details take time. Imagine making this 😁
@AnchorTechFree
@AnchorTechFree 10 ай бұрын
how add ssl certificate to self-hosted
@activenode
@activenode 10 ай бұрын
The Video here shows that. Everything SSL protected. Do you need something else?
@sabahsaeedi9551
@sabahsaeedi9551 8 ай бұрын
Hello sir,I have a problem with file type for upload to strorage ,all file type was uploaded except media file jpg png or video ,I tried to create policy but was not useful,colud you please guide me
@activenode
@activenode 8 ай бұрын
Hey there, what's the mspecific problem? So you can upload - right now - all but media? Do you have policies in place right now?
@sabahsaeedi9551
@sabahsaeedi9551 8 ай бұрын
@@activenode Hey sir Actualy I can not create user in dashboard and I got this error Failed to create user: An error has occurred: Load failed error 422
@activenode
@activenode 8 ай бұрын
@@sabahsaeedi9551 Thanks for getting back. is ist just the Dashboard that has that problem? Can you connect via Supabase Client and try creating a user there? That problem of having issues creating a user with the dashboard isn't new, I reported about it in the comments. Have you checked my blogpost as well?
@sabahsaeedi9551
@sabahsaeedi9551 8 ай бұрын
Thank you very much sir , absolutely l tested by flutterflow and l got kong error
@sabahsaeedi9551
@sabahsaeedi9551 8 ай бұрын
Also in storge l can upload any type of file except images and video
@yhzh755
@yhzh755 11 ай бұрын
how does supabase compare to appwrite?
@activenode
@activenode 11 ай бұрын
That could be a "religious" question. I'd say the main difference is the Community. At the end of the Day you will probably get along with both - for most applications. What I like: the Supabase Developers, including Paul (CEO) himself do contribute to Projects such as pgvector, which they could just do propietary to keep some "Golden Nuggets" but they don't. So they're really, really are strongly committed to Open Source
@elmagnificent8550
@elmagnificent8550 29 күн бұрын
Is the book out?
@activenode
@activenode 6 күн бұрын
It is :)
@elmagnificent8550
@elmagnificent8550 6 күн бұрын
@@activenode link!!!
@activenode
@activenode 5 күн бұрын
@@elmagnificent8550 haha my mistake, here's the US one but you can search whatever amazon of your country for "Supabase book" www.amazon.com/Building-Production-Grade-Applications-Supabase-comprehensive/dp/1837630682/
@elmagnificent8550
@elmagnificent8550 5 күн бұрын
@@activenode May I ask? Is this for supabase SELF_HOSTING ? and does it have all supabase features ( like rpc functions?)
@activenode
@activenode 5 күн бұрын
@@elmagnificent8550 it's best if you join the book discord and ask the questions there, easy to answer then -> discord.com/invite/qhAAYwKx3f
@Web-Pirat
@Web-Pirat 4 ай бұрын
Hi is there a way to get in touch with u ?
@activenode
@activenode 4 ай бұрын
Yes. First and foremost via Mail (info[at]activenode.de)
@marcelwolf3855
@marcelwolf3855 4 ай бұрын
hey, your blog is offline
@activenode
@activenode 4 ай бұрын
blog.activeno.de . Sorry :)
@PinkyOhneBrain
@PinkyOhneBrain 11 ай бұрын
Für den Algorithmus :)
@activenode
@activenode 11 ай бұрын
?
@ChristianKolbow
@ChristianKolbow 11 ай бұрын
@@activenode Kommentare sorgen dafür, dass Videos von KZfaq gepusht werden. Daher schreibt man schonmal einen Kommentar "für den Algorithmus". Ich bin mir allerdings nicht sicher ob Kommentare "für den algorithmus", nicht mittlerweile von KZfaq ignoriert werden. 😂
@activenode
@activenode 11 ай бұрын
@@ChristianKolbow 😅
Coolify Crash Course | Self Host 101 | Secure Set up
1:29:06
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 23 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 42 МЛН
I Never Want To Build Authentication Any Other Way
2:03:20
Elliott Chong
Рет қаралды 18 М.
self-host the INTERNET! (before it's too late)
15:14
TechHut
Рет қаралды 275 М.
Supabase + Next.js ULTIMATE Auth Combo
8:55
The Dev Logger
Рет қаралды 3,3 М.
Firebase vs Supabase - I Built The Same App With Both
6:21
Your Average Tech Bro
Рет қаралды 104 М.
PocketBase... The Ultimate Side-Hustle Backend?
3:31
Fireship
Рет қаралды 508 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 742 М.
You need to aware of this about Supabase
17:47
Daily Web Coding
Рет қаралды 4,8 М.
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 23 МЛН