sixfalls
sixfalls
Explore posts from servers
RRailway
Created by sixfalls on 7/16/2024 in #✋|help
How to handle template seeding
How do templates handle initial user creation when the user needs to go through a login flow to input their details? My application generates a link when creating a user that the user uses to login. I want to create that user when the template is created, but I'm not sure how to handle that - would it be ideal to create a service that's job is to create the user and output the login URL, that the template user deletes after they've registered?
16 replies
RRailway
Created by sixfalls on 7/15/2024 in #✋|help
Application proxy HTTPS
Is it possible for the application proxy to connect to my backend using HTTPS? I'm running software that uses TLS Routing with ALPN and it listens for HTTPS only. By specifying the port of the service the proxy tries to connect to it over HTTP, which doesn't work. Is it possible to get the proxy to support HTTPS backends?
5 replies
RRailway
Created by sixfalls on 7/12/2024 in #✋|help
Extremely long container deployment times + inconsistent build statuses
Deployments are taking over 10 minutes - the build step takes a minute or so, and gets stuck on creating containers. In addition, I've made a few seperate services that point to the same repository, but some of these services aren't even able to build properly even with the same configuration as another that builds properly. Some of the builds also just quit with the error We were unable to connect to the registry for this image. Project ID: 4a7d8d53-a35f-4e04-9170-628ed97b35b8
40 replies
DTDrizzle Team
Created by sixfalls on 6/7/2024 in #help
Unable to query a table with another many to many relation
This seems to be an issue with the type handling, but it also could be an oversight on my part. I have 3 tables, let's call them A, B, and C. A and B have a one to many relation, and B and C also has another one to many relation. I have references to A from B, and references to B from C, but none from A to C. I'm trying to query B using db.query.B.findFirst({with: {C: true}), so I can get the C records of B. The inferred type of with ends up becoming {}, and as a result the response of that doesn't have the types for the relation. On the other hand, if I delete the relations between A and B from my drizzle schema file, the query works fine. What gives?
2 replies
RRailway
Created by sixfalls on 4/15/2024 in #✋|help
Hobby plan timeout
Railway returns a 503 Application failed to respond after 30s, it used to be 5 minutes. Can this be configured?
8 replies
RRailway
Created by sixfalls on 4/6/2024 in #✋|help
Multi-volume mounts
Is it possible to mount a volume (maybe subpaths like kubernetes) to multiple places? I'm trying to deploy an app from it's official docker tag, and forking the docker image to move the volumes to one single path is a last resort as I need to manage that and update it as needed.
5 replies