Hey @bobdion Welcome to the n8n community!
That is strange that the WEBHOOK_URL is not changing at all, have you tried using the npm version of the n8n , i am currently using that and it works very fine every time before i start n8n i just use āset WEBHOOK_URL=https://myURL.comā and then i start n8n and it works for me, let me know after trying the npm version, you can get it with the command ānpm install n8nā and just install NODE.js
As most of the times the webhook_url does work with docker, but i guess giving the npmās version of n8n a try!
No, you dont need to uninstall anything , that will just install as another npm package, and that will help to see what is the actual issue testing that does this works or not
While I agree with @Anshul_Namdev, letās just take a step back and make sure we are not overlooking something simple.
Would you mind sharing your docker-compose snippet? First thing weād want to make sure of, is that .env value is being propageted to your Docker container.
When you have the url only in .env variable and after restarting:
docker compose down docker compose up -d
what is the output for: docker compose exec n8n printenv | grep WEBHOOK_URL ?
It may be helpful to take a look at these posts as well. Iād start here and dive deeper, once we can exclude the simple issues.
now is working i get robert@robert-PowerEdge-R710:~/n8n-server$ sudo docker compose exec n8n printenv | grep WEBHOOK_URL
WEBHOOK_URL=https://192.168.21.30/