ramnivas
ramnivas
RRailway
Created by ramnivas on 12/5/2023 in #✋|help
Error creating a template
I am trying to create a template (-n9Md7 currently unpublished) based on this project (id: 462b54b8-a74e-4132-8c36-8530315ad71e) and faced a couple of issues: - I expected that the variable bindings (DATABASE_PRIVATE_URL -> ${{Postgres.DATABASE_PRIVATE_URL}} and DATABASE_URL to ${{Postgres.DATABASE_URL}} to have been populated in the template. They weren't. - I defined those bindings in the template manually. When I try to publish the template, I get "Missing variable details": "Please add description or default values for all variables". Any ideas on fixing this?
30 replies
RRailway
Created by ramnivas on 12/1/2023 in #✋|help
Possible to add variables without using the Dashboard UI?
I have a GraphQL server connected to a Postgres database. Currently, I add variable references to DATABASE_PRIVATE_URL through the dashboard. Is it possible to avoid using the dashboard? I looked through the railway cli and railway.toml docs but couldn't find anything that would allow me to do so.
9 replies
RRailway
Created by ramnivas on 12/1/2023 in #✋|help
Possible to create a Postgres service using cli
Can a new Postgres service be created from the railway cli? There is the railway add command, but it is deprecated (it is for the old-style plugin). More generally, is it possible to create a Postgres service without the dashboard UI?
4 replies
RRailway
Created by ramnivas on 10/25/2023 in #✋|help
Reserved characters in Postgres url
According to https://en.wikipedia.org/wiki/Percent-encoding and https://www.ietf.org/rfc/rfc2396.txt (section 2.2), + is a reserved character in URIs. Yet, I see that in some of my Postgres services, the password has a + (for example, here is a part of the DATABASE_URL env: postgres://postgres:dbB4DGbbEAbA+GfDDgB1GAGg1gf*eBbc@..." This feels like a bug.
11 replies