You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow configuration of SUPABASE_REST_URL when using Supabase Studio from CLI #270
CLI seems to assume that REST API is accessible from local host.
Is your feature request related to a problem? Please describe.
I installed Supabase via CLI on a linux server at work, which I can only access from shell.
When accessing Supabase studio at the network address, Supabase Studio can't connect to database.
It gets stuck at "Connecting to default project".
Looking in network tab of chrome developer tools, I can see Studio is sending a request to the localhost but does not receive a reply from: http://localhost:54321/rest/v1/
Describe the solution you'd like
I believe this has something to do with the way the server/docker itself is set up on my work network, so there may be another solution, but ideally I would like to be able to configure Studio to use a different server than localhost and to do this by editing the config.toml file.
Describe alternatives you've considered
It seems like it might be possible to change the .env variable for SUPABASE_REST_URL for the docker container but I have no idea how.
Reacted by Belkacem Bouzerzour, André König, Josh Joseph, Han Qiao, Yuri Nezdemkovski, Timour Mouratov and Paul-HeathCo
Activity
EALNick commentedon Jun 2, 2022
@kiwicopple Thanks for moving this across to CLI