Code Monkey home page Code Monkey logo

n8n_on_dokku's Introduction

n8n Dokku Maintenance

Run n8n on Dokku

Perquisites

What is n8n?

n8n is an extendable workflow automation tool. With a fair-code distribution model.

What is Dokku?

Dokku is the smallest PaaS implementation you've ever seen - Docker powered mini-Heroku.

Requirements

Setup

Note: We are going to use the domain n8n.example.com for demonstration purposes. Make sure to replace it to your domain name.

Create the app

Log onto your Dokku Host to create the n8n app:

dokku apps:create n8n

Configuration

Setting encryption key

dokku config:set n8n N8N_ENCRYPTION_KEY=$(echo `openssl rand -base64 45` | tr -d \=+ | cut -c 1-32)

Setting webhook url

dokku config:set n8n WEBHOOK_URL=http://n8n.example.com

Domain setup

To get the routing working, we need to apply a few settings. First we set the domain.

dokku domains:set n8n n8n.example.com

Push n8n to Dokku

Grabbing the repository

First clone this repository onto your machine.

Via SSH

git clone [email protected]:d1ceward/n8n_on_dokku.git

Via HTTPS

git clone https://github.com/d1ceward/n8n_on_dokku.git

Set up git remote

Now you need to set up your Dokku server as a remote.

git remote add dokku [email protected]:n8n

Push n8n

Now we can push n8n to Dokku (before moving on to the next part).

git push dokku master

SSL certificate

Last but not least, we can go an grab the SSL certificate from Let's Encrypt.

# Install letsencrypt plugin
dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git

# Set certificate contact email
dokku config:set --no-restart n8n [email protected]

# Generate certificate
dokku letsencrypt:enable n8n

Wrapping up

Your n8n instance should now be available on https://n8n.example.com.

n8n_on_dokku's People

Contributors

d1ceward 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.