Help with Self hosted Supabase
I setup a supabase instance in one of my remote Ubuntu servers.
To do this I just installed supabase cli and ran supabase init and start commands.
It did all the hassle of pulling the docker containers and configuring and running them.
It started up and I configured it behind my domain using nginx on a random port with basic auth.
I'm able to access the dashboard and do stuffs with tables which is fine from a remote Supabase studio browser client.
However, when I'm trying do things with the storage, it is not working and then after network inspection I realised it is trying to post req to localhost from the browser for storage upload.
Can someone please guide where I can configure this to have it work correctly from remote supabase dashboard browser?
2 Replies
it sounds like you're trying to run the development environment version of Supabase in a production environment?
self-hosting and local hosting are two different things:
running
supabase start
is for the development environment, following the guide at https://supabase.com/docs/guides/self-hosting/docker will show you how to properly get your application up and runningSelf-Hosting with Docker | Supabase Docs
Learn how to configure and deploy Supabase with Docker.