Multiple Services in `railway.toml` ?
Is it possible to specify multiple services in a
railway.toml
file?
For example if I want to setup a backend
service and a frontend
service, can I do that from one file or is it 100% scoped to just one service?
Solution:Jump to solution
templates can be unpublished, but they are never private, if you have secrets you want to deploy just leave them blank and fill them out when you go to deploy the template
8 Replies
Project ID:
N/A
Looking at the JSON Schema though it leads me to believe it's not possible
yeah scoped to a single service, what's your usecase?
A Go backend + Svelte frontend mono repo, I can set it up manually still - I was just wondering if I can pre-setup the repo so once I link it to a Railway project it just kinda figures itself out π
At least this way I can automate whichever one is more time consuming to set up, and manually add the other
but it'd be a neat feature if defining multiple services was allowed
maybe you want a template?
Oh! ya I should totally look into that
templates can be private, right?
for secret stuff π
Solution
templates can be unpublished, but they are never private, if you have secrets you want to deploy just leave them blank and fill them out when you go to deploy the template
I'll give templates a try today to see if works for me, thanks!