So Plesk Obsidian has this Docker extension where you can easily download an n8n image from Docker Hub, and after opening the ports from the Plesk Firewall and the Azure VM, adding a DNS record pointing at my subdomain and installing an SSL certificate on top, I had n8n up and running!
But then, I realized webhooks weren’t working, and the same problem explained in this other post Webhooks not working was now happening to me:
1 - I cannot receive webhooks (Something went wrong - The remote end-point couldn’t be contacted - Error: 7 - Failed to connect to 188.8.131.52 port 5678 after 1002 ms: Couldn’t connect to server)
2 - I can’t stop it listening to events
Any ideas? Does it have anything to do with the traefik image not coming with the n8n image?
PS: On top of that, I created a PostgreSQL database both inside Plesk and another one in Azure (PostgreSQL Flexible server) and tried to connect n8n to each one of them it by adding the necessary environment variables (DB_TYPE, POSTGRES_DB, POSTGRES_HOST, POSTGRES_NON_ROOT_USER and POSTGRES_NON_ROOT_PASSWORD) after creating a database inside them, but I never got it to work.