Sign inSign up

roylez/huginn

By roylez

•Updated over 4 years ago

alpine based huginn with sqlite as db

Image
4

1.3K

roylez/huginn repository overview

This is an alpine based Huginn image. Some changes have been made to the original, notably:

  • mini_racer is removed, thus making it incapable of running Javascript agents.
  • DATABASE_URL is the only way of configuring database connection. Default: sqlite3:/data/huginn.db
  • sqlite3 is the default database, but mysql2 and postgres are supported as well.
  • There is only one multi-process build.
  • Mysqld is removed, together with supervisord.
  • Database will not be seeded automatically, but migration will still be run each time container starts.

To use this image with docker-compose.

version: '3'

services:
  huginn:
    image: roylez/huginn
    volumes:
      - ./huginn:/data
    ports:
      - 3000:3000
    environment:
      # DATABASE_URL: sqlite3:/data/huginn.db
      # more from .env.example
      APP_SECRET_TOKEN: changeme

You may need to create your database first by touching huginn.db.

Admin account can be seeded with the following command but this is not really that necessary.

docker-compose exec huginn bundle exec rake db:seed SEED_USERNAME=admin SEED_PASSWORD=password

Project link: https://github.com/roylez/huginn⁠

Tag summary

Content type

Image

Digest

Size

155.8 MB

Last updated

over 4 years ago

docker pull roylez/huginn