I have a self hosted version of n8n on railway, this was deployed using a github repro which is no longer available as it outdated. My instance still updates from the docker hub however.
What I’d like to understand are the new services on latest railway templates and how they would benefit my next self host deployment. For example, there are 2 instances of n8n on the template, one primary and one for workers, I understand this would be useful if a high number of webhook requests were incoming, but how do the 2 instances interact with each others and what setup is required?
Also, what is Redis used for and how can I make use of it?
I’d also like to know how to install npm packages so I can use them in my code blocks?
Any kind soul that can help expand my knowledge out there?
That is a very good question we don’t officially support or have a Railway template though so anything you find at the moment will be community created and supported.
Having said that looking at the template the one you have found deploys n8n in queue mode, We document a bit more about this option here: Scaling n8n | n8n Docs
If you wanted to install npm packages you would need to make your own n8n image that includes the packages you want (there are examples on the forum for this) then use that image in your Railway template.