Deploying Postgres from GraphQL
Hello ! π
I'm having a heck of a time trying to deploy a postgresql database through the GraphQL endpoint, but I'm able to create the project and post what always ends up being a blank template to said project. I'm looking to deploy both a postgresql database and one of my private github repos. Deploying A Project Deploying PostgreSQL Question - Is what I'm doing possible through the API, and can someone help point me in the right direction? Thanks in advance!
I'm having a heck of a time trying to deploy a postgresql database through the GraphQL endpoint, but I'm able to create the project and post what always ends up being a blank template to said project. I'm looking to deploy both a postgresql database and one of my private github repos. Deploying A Project Deploying PostgreSQL Question - Is what I'm doing possible through the API, and can someone help point me in the right direction? Thanks in advance!
16 Replies
Project ID:
N/A
N/A
It seems to not deploy the required environment variables, I might just be missing something from the query that sets these up
![No description](https://cdn.answeroverflow.com/1219717842421682246/Screenshot_2024-03-19_at_2.42.37_PM.png)
there is one dead simple way to figure out how to do this - open your dev tools and watch the networking calls as you replicate what you want to achive through the dashboard
That sounds perfect , thanks Brody !
but im curious now, i'd love to hear your use-case for this!
Working on a CMS that I want to run on Railway haha
and that will allow the user to deploy databases on the fly?
Yea, so basically a service that'll help agencies keep up with the times
redacted
i should probably tell you that theres a 10 volume limit on the hobby plan, meaning you are limited to 10 databases per project, assuming databases are the only services with volumes in this senario
Yea, database will be the only volume needed. Will need to bump to Pro/Enterprise when I have a MVP likely
Does Pro have that same limit?
i dont know the volume limit per project on pro, its more than 10 though
and if you go beyond the pro plan you can get your limits bumped to anything you'd need
Ah, sick. Good to have that option
yep! railway can scale with you!
Nowhere else I'd rather build this my friend!