Monorepo
Hi l, I have 3 independant projects in my Git repo which are mapped to 3 different service in a Railway project. I dont want a change to one project build and deploy other projects or services whithen same repo. Is that possible ?
4 Replies
Project ID:
eb3e87db-2f5c-4c3d-9382-bf66a4bc4e0c
eb3e87db-2f5c-4c3d-9382-bf66a4bc4e0c
New reply sent from Help Station thread:
Oh, I do this myself. I use "entrypoints" directory in root folder of the project. I then structure it like this: Each railway.json has config for running its specific thing, usually it just runs theYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:run.py
in its folder but you can configure it depending on your needs. Then when deploying I go to settings -> config as code and put a path to that file, for exampleentrypoints/dev_demo/railway.json
My config here looks like this:
The "run.py" name got some weird formatting, but the idea should be clear :)You're seeing this because this thread has been automatically linked to the Help Station thread.
as long as the individual apps don't need to access files from the other apps the correct way would be to set the root directory accordingly in the service settings