Comments (7)
Hello @huiali
Thanks for opening. I will try and address all of these and, where the documentation is lacking, please highlight them and we can get them in the docs.
- Single project - Self-hosted Supabase does only allow a single project / single org and I am afraid it is not possible to modify as the local version runs without a management API/database to handle multiple projects. You can run multiple instances to allow for multiple projects
- Cloud functions - Edge functions are supported in the self-hosted version. You can create them with
supabase functions new NAME
- Support for multiple databases - A database is unique to a project and cannot be shared. You can, however use wrappers to connect to other databases
- Auth - Supabase has Auth built in, so it is easiest to use that. However, you can integrate with almost any Auth provider, here is an example using Clerk and the steps are similar
from supabase.
Hello @encima,
Thank you for your prompt response and for addressing my initial queries. I appreciate the clarification provided. I have a couple of follow-up questions and an illustration regarding one of the points:
Cloud Functions Support:
Regarding cloud functions, I am particularly interested in enabling them in my local environment. I attempted to set the variable NEXT_PUBLIC_IS_PLATFORM=true, which led to the login interface, but I encountered errors upon logging in. Could you provide a detailed guide or recommended steps to enable cloud functions in the local version? Below is a screenshot of the error I encountered:
Other Issues:
I am satisfied with the explanations provided for my other questions. My main focus now is on enabling cloud functions locally.
Thank you once again for your assistance and support.
Best regards,
from supabase.
Hi @huiali
Glad that it helped! A guide for hosting edge functions locally is here
The creation and deployment is managed completely by the CLI so the dashboard does not include them.
For logs, you can use the CLI: supabase functions serve
and logs will be streamed in the terminal
from supabase.
@encima I am currently unable to render the cloud functions interface on the dashboard. Although I set the NEXT_PUBLIC_IS_PLATFORM=true variable, which made the menu visible, I encountered errors and was unable to access it. How can I properly configure this setting to render the cloud functions interface without errors?
Thank you for your help.
from supabase.
That variable is for the Platform dashboard and is not available in self-hosted.
from supabase.
Hello @encima,
Thank you for your prompt response and for addressing my initial queries. I appreciate the detailed explanations provided.
However, I still have some questions regarding enabling the cloud functions interface on the dashboard and supporting platform functionalities in a self-hosted environment:
Cloud Functions Interface on the Dashboard:
I understand that the variable NEXT_PUBLIC_IS_PLATFORM=true is for the Platform dashboard and is not available in the self-hosted version. However, I really need to access and manage cloud functions via the dashboard for my local environment. Is there any way or workaround to enable this feature in the self-hosted version, or is it strictly limited to the hosted platform?
Platform Functionalities Support:
Given the limitations of the self-hosted version, such as single organization and project, and the absence of a management API/database for handling multiple projects, is there any plan to extend these features to the self-hosted version in the future? Alternatively, can you provide any guidance or resources on how to implement such customizations if we decide to pursue this on our own?
I am particularly interested in a solution that allows me to use the Supabase platform's full potential in a self-hosted setup, including multiple organizations, projects, and a fully functional dashboard for cloud functions.
Thank you for your assistance and support. I look forward to your guidance on these matters.
Best regards,
from supabase.
Hi @huiali
To address the questions in order:
- Modifying the
PLATFORM
variable is not supported and not recommended, yes, you would need to use the hosted version, I am afraid. Functions can be created and deployed using the CLI, as normal, however and you can view logs from each call. - Currently, this is not possible and a single project, single org is the self-hosted version we offer. To my knowledge, there is no plan to modify this but I will raise it up internally for a more official response
from supabase.
Related Issues (20)
- Supabase logo overlap with menu HOT 1
- Unable to create user due to CSP in docke3r env HOT 2
- Supabase vercel integration doesn't detect vite project
- Logs are not working properly | Getting 502 errors HOT 2
- [Self Hosting] supabase-analytics is unhealthy, Monotonic time stepped backwards. HOT 2
- Verify Custom Claims on Server Side in Nextjs Middleware.ts HOT 3
- There should be an api for deleting folders HOT 3
- CORS Error for Auth Request from React app to local Supabase HOT 3
- Unable to do large Deletes Supabase Storage Hosted supabase.com HOT 7
- Pagination fails for storage beyond first page at root resource - Supabase.com Hosted HOT 1
- Could not create new items HOT 1
- SvelteKit: VerifyOTP not saving session HOT 7
- In the docs, deno guide page shows Not Found due to 404 error HOT 2
- Storage Invalid S3 Access Keys Generated Supabase.com HOT 3
- 200 status after update, but nothing is updated (from the context of a lambda) HOT 9
- default `main` edge function fails with `{"msg":"ReferenceError: EdgeRuntime is not defined"}` HOT 5
- Include request/response size limits in Edge Functions docs HOT 2
- Running `Deno Test` on Supabase Edge Functions in GitHub Actions HOT 1
- Docs include `count` named option for every function call HOT 1
- Docker - missing quotation marks in studio service healthcheck test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supabase.