Permalink
Branch: master
Find file Copy path
c615b59 Oct 31, 2018
4 contributors

Users who have contributed to this file

@dsander @xarses @Rohlik @knu
49 lines (31 sloc) 2.75 KB

Why run Huginn with docker

You can play with or deploy Huginn inside of docker.

Getting Huginn up and running using docker is quick and painless once you have docker installed. The docker container is suitable for production and evaluation. Huginn uses environmental variables for configuration, so rather than having a .env file, the Docker container expects variables to be passed into the launch command.

Running the Container

Quick start to check out Huginn

OSX GUI using Kitematic

  1. Download and install Kitematic
  • Start Kitematic and search for huginn/huginn
  • Click create and wait for the container to be downloaded and booted
  • Click on the link icon next to 'WEB PREVIEW'
  • Log in to your Huginn instance using the username admin and password password

OSX/Windows/Linux using docker machine

  1. Download docker machine for your OS
  • Follow the installation instructions untill you can successfully run docker ps
  • Get the the IP of the VM running docker by running docker-machine ls
  • Start your Huginn container using docker run -it -p 3000:3000 huginn/huginn
  • Open Huginn in the browser [http://docker-machine ip:3000](http://:3000)
  • Log in to your Huginn instance using the username admin and password password

Linux

  1. Install docker using the install instructions
  • Start your Huginn container using docker run -it -p 3000:3000 huginn/huginn
  • Open Huginn in the browser http://localhost:3000
  • Log in to your Huginn instance using the username admin and password password

Configuration and linking to a database container

Follow the instructions on the docker hub registry on how to configure Huginn using environment variables and linking the container to an external MySQL or PostgreSQL database.

Running each Huginn process in a seperate container

With the cantino/huginn-single-process image you can easily run each process needed for Huginn in a separate container and scale them individually when needed. Have a look at the Docker hub and the documentation for the container

Other options:

Other Docker options: