How to start n8n with tunnel mode when using docker-compose

Hi all I am have hosted n8n using this docker-compose file provided by the n8n team: https://github.com/n8n-io/n8n/blob/master/docker/compose/withPostgres/docker-compose.yml

And on trying github trigger node I get this error:
image

Any idea/ help on how I can run this docker compose file in --tunnel mode?

Thank you!

Welcome to the community @Sohail_Sankanur!

First, be aware that the tunnel is ONLY for testing and NOT for production use. If you want to run n8n in production please follow this guide:

To your questions. You can add the following line to the n8n container:

    command: "n8n start --tunnel"

Thank you for the help, Jan, Happy to be here!

1 Like