-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obtaining DB_URL from the CLI #2964
Comments
Hi @Innoviox, thanks for the suggestion. We can definitely make I will probably have time to look into this early 2025. |
@sweatybridge , if this issue is open, then may I work on this issue? I've a lot of experience in Go and have previously contributed to Keploy, Meshery(both CNCF projects) and Taipy. |
@yaten2302 sure thing. We have some examples of using the output flag in status command. Feel free to tag me if you have any questions or want a review. |
Thanks for your suggestions @sweatybridge!
And yes, I'll take help from the status command to check how to add a new flag to a command, which you mentioned in your previous comment 👍 |
Any update on this @sweatybridge :) |
Currently So there are a few tasks I would suggest as next steps
Hope it clarifies. |
Got it @sweatybridge 👍 |
@sweatybridge I've created a draft PR for this issue 👍 |
Hey @sweatybridge , could you please guide regarding the PR, whenever you get time :) |
Is your feature request related to a problem? Please describe.
I am attempting to set up branch previews (similar to Vercel) in railway. To do this, I need to update some environment variables on the railway side, including SUPABASE_DB_URL.
Describe the solution you'd like
I'd like to be able to run some supabase CLI command to obtain the DB_URl automatically, so I don't have to add it manually as a variable whenever I make a new branch. However, I cannot find a CLI command that will do this.
gen keys
gives me the password but not the user, the port, the database, or the host.branches get
has the user, port, and host, but these conflict with the information shown in my dashboard. (I assume the database is alwayspostgres
?)Describe alternatives you've considered
I've looked in the docs for the CLI and the javascript library, and neither of them seems to provide the database url. Any help is appreciated!
The text was updated successfully, but these errors were encountered: