a year ago
This is my first time trying to run multiple services from 1 repo on railway. (It's pretty straight forward when there's 1 docker file per repo).
My repo has a services/ directory with multiple services. Each has a dockerfile.
I'm not sure how to best go about deploying this on railway.
20 Replies
a year ago
is there anything not answered by these two doc's pages?
So these were fantastic resources. I followed them and have my 'service' created but I don't know how to point it to the Dockerfile
a year ago
have you set the root directory?
Yes I set it as the root of the project (default) because that is where the lib/ folder is which is used in building the docker container.
a year ago
ah then that's a shared monorepo
Again thank you so much for your help man. I don't understand how you guys become so knowledeable in this space 😄
a year ago
please see this docs section then -
a year ago
for me, I've gained this knowledge just by helping
How comfortable should I feel, or rather, would you recommend sensitive keys (like API keys, etc) be passed into the docker container via the variables section?
I notice that there is a way to SEAL these variables however I noticed that there was a bug when done this way, where the variables (only the SEALED ones) aren't available to the container.
a year ago
there shouldn't be that kind of bug, but if you are the only one who has access to the project you have zero reason to seal the variables
Gotcha thank you! How can I close out this ticket 🙂 Your help's been greatly appreciated!
a year ago
we dont close, we just do that! 🙂