#One repo and one build into multiple services ?

10 messages · Page 1 of 1 (latest)

thick zealot
#

I have one node package that I want to run multiple instances of. Each one may have a slightly different start command or env variables.

Is it possible to set up railway so that I have multiple services in a project which all run the same build that happens once?

noble driftBOT
#

Project ID: 0ac6f264-9ec3-431d-ad27-3105aa332eca

thick zealot
#

0ac6f264-9ec3-431d-ad27-3105aa332eca

warm pond
#

Yee. I think you can just right click and re import your repo many times

thick zealot
broken crescent
#

Each service is one running app. If you want multiple apps, you need multiple services

#

So yes, the apps will be built multiple times.

#

Given that you don't have to pay for build usage iirc, it won't affect you

lyric grove
#

I had the exact same question. What would be amazing would be to be able to use config as code to configure this, because it seems we need to opt-out from config as code in order to use the same repo multiple times. Per-service overrides in the config as code would be amazing!

broken crescent