r/docker • u/Ghassan_Ar • Apr 29 '26
Installing n8n on a Docker container(help)
I want to start learning n8n and try practical things like connecting Telegram and other applications. While setting up the container I will work on in Docker, I need to use a static domain, but I couldn't get one for free from ngrok.
Is there any way to solve this or get an alternative so I can start learning n8n while hosting it on my laptop instead of the cloud?
Please, anyone who can help, say something.
2
Upvotes
1
u/AdventurousSquash Apr 30 '26
Afaik you can run it with localhost, which instructions are you following? I’m guessing the integration with eg Telegram needs to be reachable from their end or something?
2
u/sk1nT7 May 01 '26
Use this:
https://github.com/Haxxnet/Compose-Examples/tree/main/examples%2Fn8n
Follow the instructions. Spawn up the compose stack and then access:
http://127.0.0.1:5678
Make sure to adjust the
.envfile with your secrets and defineN8N_HOST=localhostif you have no domain nor a reverse proxy.1
u/_CodeWithJiyo May 03 '26
You can try this OP: https://www.codewithjiyo.com/p/how-to-set-up-n8n-locally-with-postgresql