Trying to learn more about self hosting N8N


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?

Template: Deploy N8N on Railway | Railway

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Wayne,

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.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.