Code Monkey home page Code Monkey logo

n8n-ngrok's Introduction

n8n with Ngrok Tunnel

This repository contains a Docker Compose setup for running n8n with Ngrok as a tunneling service. n8n is a workflow automation tool that allows you to connect different services and APIs. Ngrok exposes local servers behind NATs and firewalls to the public internet over secure tunnels.

Prerequisites

Before you begin, ensure you have the following installed:

Setup

  1. Clone the Repository

    Clone this repository to your local machine:

    git clone https://github.com/joffcom/n8n-ngrok.git
  2. Ngrok Authentication

    You need to authenticate with Ngrok. If you don't have an Ngrok account, create one at Ngrok. After creating an account, get your auth token from the Ngrok dashboard.

    Set your Ngrok auth token in the .env file:

    NGROK_TOKEN=XXXYYYZZZ
  3. Permanent Domain In your Ngrok Dashboard you can reserve a domain, You can do this under Cloud Edge > Domains. Once you have the domain add it to the .env file:

    URL=https://from-ngrok.ngrok-free.app

    This will also need to be added to the ngrok.yml

    version: 2
    log_level: debug
    tunnels:
        n8n:
            proto: http
            addr: n8n:5678
            domain: from-ngrok.ngrok-free.app
  4. Configure n8n

    Optionally, you can configure n8n by modifying environment variables in the docker-compose.yml file under the n8n service.

Running the Application

To run n8n with Ngrok, use the following command:

docker-compose up

This command will start both n8n and Ngrok services. Ngrok will provide a URL that tunnels to your n8n instance.

Accessing n8n

After running the Docker Compose command you can access n8n by navigating to this URL in your web browser.

Stopping the Application

To stop the n8n and Ngrok services, use:

docker-compose down

n8n-ngrok's People

Contributors

joffcom avatar

Stargazers

 avatar aya avatar Fabien Champigny avatar Arenaweb avatar  avatar  avatar Deborah avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.