Webhook url is changing everytime my n8n containter restarts

Describe the issue/error/question

I am running n8n on my computer using Docker. I have set the container policy to restart always, so that I’m sure n8n is running everytime my computer is turned on.
Knowing that, my computer and so n8n restarts every day.

The problem is that I am using Gitlab trigger node in my workflows, and when n8n restarts, the gitlab webhook url is changing (yesterday url was tender-grasshopper-66, today is happy-walrus-68). How to fix that and have a fix webhook url ?

Information on your n8n setup

  • n8n version: 0.170.0
  • Database you’re using (default: SQLite): SQLite
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Hey @constant-roussel,

Welcome to the community :partying_face:

If you are using the tunnel mode the URL can change if the container crashes which isn’t ideal but the tunnel is something we only recommend for test environments if you need something more permentant it would be worth looking at getting a domain name or using something like ngrok if you need the service to be available externally.