caprover / one-click-apps

Community Maintained One Click Apps (https://github.com/caprover/caprover)
Apache License 2.0
557 stars 544 forks source link

App Suggestion: Huginn #360

Open cmw opened 3 years ago

cmw commented 3 years ago

Please tell us what app you'd like to see on CapRover as a one-click app.

https://github.com/huginn/huginn

Do you know if there is any official Docker image for the app?

https://github.com/huginn/huginn/blob/master/doc/docker/install.md

I tried to follow the description but got stuck with an image that fails to boot. My Docker-fu isn't that good, so I'm hoping for someone here to figure it out.

hueyy commented 3 years ago

I have a working installation of huginn on CapRover. I found that linking it to a separate Postgres app was the easiest way.

Set your environment variables appropriately:

DATABASE_USERNAME=huginn
DATABASE_PASSWORD=huginnpassword
DATABASE_ADAPTER=postgresql
DATABASE_NAME=huginn
DATABASE_HOST=srv-captain--huginn-db

The initial migrations also takes awhile (~10 minutes for me).

cmw commented 3 years ago

Interesting, thank you, @hueyy. Can you tell me what image you used? I didn‘t get that to work at all.

Brandutchmen commented 3 years ago

+1

starptr commented 3 years ago

Make sure you set the Container HTTP Port to 3000. The official docker image worked for me after following hueyy's steps.