@Sohail_Sankanur (Sohail Sankanur) posted a new topic, subject "How to start n8n with tunnel mode when using docker-compose". It read:

   Hi all I am have hosted n8n using this docker-compose file provided by the n8n team: n8n/docker-compose.yml at master · n8n-io/n8n · GitHub
    
    And on trying github trigger node I get this error:  
    
    
    Any idea/ help on how I can run this docker compose file in --tunnel mode?
    
    Thank you!

@jan (Jan Oberhauser) replied

    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:
    
    Docs
    
    ### Server Setup | n8n Docs
    
    n8n is an extendable workflow automation tool that enables you to connect anything to everything via its open, fair-code model.
    
    To your questions. You can add the following line to the n8n container:
    [code] 
            command: "n8n start --tunnel"
        
    [/code]

Then @Sohail_Sankanur (Sohail Sankanur) said

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


{'source': 'discourse', 'url': 'https://community.n8n.io/t/how-to-start-n8n-with-tunnel-mode-when-using-docker-compose/4838', 'title': 'How to start n8n with tunnel mode when using docker-compose', 'views': 1961, 'has_accepted_answer': True, 'word_count': 133, 'like_count': 2, 'reply_count': 1, 'participant_count': 2, 'posts': 3, 'tags': '', 'author': '@Sohail_Sankanur (Sohail Sankanur)', 'participants': '@Sohail_Sankanur (Sohail Sankanur), @jan (Jan Oberhauser)', 'image_url': ['https://community.n8n.io/uploads/default/original/2X/6/622332dd3c68e7a7a0af31c7c5fe20f876990d4d.png'], 'created_at': '2021-03-18T05:36:24.161Z', 'last_posted_at': '2021-03-31T23:38:07.630Z'}