Budi
Budi
Explore posts from servers
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Should I close this post? I already tagged as 'solved'.
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
dbgate is perfect for my needs. Will rock that for now.
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Will give these options a try. Thanks a bunch.
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Yeah no need.
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Not that that would be necessary.
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Ah that's nice. I just can't use private networking to connect to the admin service then?
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
That's very helpful. If I enable sleeping such a service in Railway, can I still use private networking to have the admin tool connect to the database? Or would it have to use the PUBLIC_DATABASE_URL?
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Followup question here. Would one typically admin a database by connecting to a production database from a local admin tool, or would you host a template of dbgate/pgadmin in every Railway environment next to the database? Is that a particularly resource intensive thing to run, or negligible?
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Oh cool. Had not heard of it. Will check it out.
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
Hey Brody, thanks for the quick response. What about a different question -- do you have any tips for how to most easily admin a postgres database spun up in a new Railway environment? Just using pgadmin locally? Or deploying that as a template? Or is there another route that's obvious (but I'm missing)?
21 replies
RRailway
Created by Budi on 9/13/2024 in #✋|help
Possible to get Railway variables in Github Action?
1fb7b057-4030-4839-a1f8-68638ed52a4e
21 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
I see. Understood.
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
But my question still stands.
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
Sorry yes, typo.
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
I don't understand the limitations of this properly. Is the idea that I hardcode the service-id of each Railway production environment that I'll be deploying the image in?
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
But so far, when I've been testing these builds and put my new code in a new PR, a new Railway environment was started which deployed just fine with the Dockerfile that had my service-id included.
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
Also I had this remaining question:
I also noticed it's required to hardcode your session-id. I've now bound this to the session-id of my main production environment in Railway. What are the implication of this when a different environment is created in Railway for your project, for example when you create a new PR on Github?
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
Hint taken. I will do more research.
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
Any feedback on this? How do I know if I'm using the right mount targets?
59 replies
RRailway
Created by Budi on 9/3/2024 in #✋|help
Add caching to Node Dockerfile
🎉
59 replies