Installing n8n

Hi there, I decided today to install n8n on my server.

I have watched this video on how to set it up:

It was easy to follow on how to setup the server and so on.

However, some of the documentation pages could not be found

such: https://docs.n8n.io/reference/server-setup.html#example-setup-with-docker-compose

Now, I am really stuck on how to proceed

where I can find the code for .env and yml ??? I scanned all document pages and could not find the complete code.

I found another way that I install it directly from docker by using this command

docker pull n8nio/n8n

followed by

docker run -it --rm
–name n8n
-p 5678:5678
-v ~/.n8n:/home/node/.n8n
n8nio/n8n
n8n start --tunnel

but I could not set authentication, I could not also link it with my sub domain and when I run it and pressing ctrl + c, n8n shut off. Is there a way to make it run all the time ?

Thank you.

Welcome to the community @Mohdlatif !

You can find the documentation you are looking for here:

There you can find all the code you need and you can simply follow that guide step by step.

3 Likes

Thank you.

Now I am getting SSL certificate error. How to fix it please ?

Hey @Mohdlatif,

Can you please share what error do you get?

Closed. I manage to solve it. what a tricky process to install it.

1 Like

Out of interest which bit did you find tricky? Maybe as a community we can update the documentation :slightly_smiling_face:

1 Like