Implemented requested changes

* Made docker images specific
* Added STORAGE_DRIVER question to rancher-compose

In addition:

* Updated README with important usage note concerning email confirmation
This commit is contained in:
Zicklag 2018-01-25 11:58:38 -06:00
parent e8be8a93c7
commit c48f195575
3 changed files with 12 additions and 4 deletions

View File

@ -8,6 +8,8 @@ Your agents are standing by!
When huginn first starts up it will create one user named, `admin`, with the password, `password`, along with a number of example agents for that user. Each new user will start off with a set of example agents. When huginn first starts up it will create one user named, `admin`, with the password, `password`, along with a number of example agents for that user. Each new user will start off with a set of example agents.
**Warning**: The **Require Confirmed Email** option *must* be **off** when you first start up the stack because the default user has a fake email address and will not allow you to login. If desired, you can upgrade the stack and turn email verification back on after changing the admin's email address.
The Huggin web interface is served in the `huginn_web` container on port `3000`. In order to get web traffic to the container you have to create a Rancher load balancer and route the traffic to the container on port `3000`. The Huggin web interface is served in the `huginn_web` container on port `3000`. In order to get web traffic to the container you have to create a Rancher load balancer and route the traffic to the container on port `3000`.
## Scaling ## Scaling

View File

@ -15,7 +15,7 @@ services:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
huginn-web: huginn-web:
image: huginn/huginn-single-process image: huginn/huginn-single-process:fc1daf8b91398929cedd72895cc95647e3ed7b6a
restart: always restart: always
environment: environment:
DATABASE_ADAPTER: postgresql DATABASE_ADAPTER: postgresql
@ -46,7 +46,7 @@ services:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
huginn-agent-runner: huginn-agent-runner:
image: huginn/huginn-single-process image: huginn/huginn-single-process:fc1daf8b91398929cedd72895cc95647e3ed7b6a
restart: always restart: always
environment: environment:
DATABASE_ADAPTER: postgresql DATABASE_ADAPTER: postgresql
@ -78,7 +78,7 @@ services:
command: /scripts/init bin/agent_runner.rb command: /scripts/init bin/agent_runner.rb
huginn-delayed-job: huginn-delayed-job:
image: huginn/huginn-single-process image: huginn/huginn-single-process:fc1daf8b91398929cedd72895cc95647e3ed7b6a
restart: always restart: always
environment: environment:
DATABASE_ADAPTER: postgresql DATABASE_ADAPTER: postgresql

View File

@ -31,7 +31,7 @@ catalog:
description: Require newly registered users to confirm their Email address description: Require newly registered users to confirm their Email address
label: Require Confirmed Email label: Require Confirmed Email
required: true required: true
default: true default: false
type: boolean type: boolean
- variable: SMTP_USER_NAME - variable: SMTP_USER_NAME
label: SMTP Username label: SMTP Username
@ -71,6 +71,12 @@ catalog:
label: Additional Gems label: Additional Gems
required: false required: false
type: string type: string
- variable: STORAGE_DRIVER
description: Rancher storage driver to use for database volume
label: Storage Driver
default: local
required: true
type: string
services: services:
postgres: postgres:
scale: 1 scale: 1