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.
- Download and install Kitematic
- Start Kitematic and search for
cantino/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 passwordpassword
- 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 cantino/huginn
- Open Huginn in the browser [http://docker-machine ip:3000](http://:3000)
- Log in to your Huginn instance using the username
admin
and passwordpassword
- Install docker using the install instructions
- Start your Huginn container using
docker run -it -p 3000:3000 cantino/huginn
- Open Huginn in the browser http://localhost:3000
- Log in to your Huginn instance using the username
admin
and passwordpassword
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.
Other Docker options:
- If you don't want to use the official repo, see also: https://registry.hub.docker.com/u/andrewcurioso/huginn/
- If you'd like to run Huginn's web process and job worker process in separate containers, another option is https://github.com/hackedu/huginn-docker. It also uses Unicorn as the web server and serves precompiled assets.