202 lines
7.0 KiB
Plaintext
202 lines
7.0 KiB
Plaintext
# ==== Required configuration settings for Huginn ====
|
|
|
|
# Replace the following with the output from "rake secret"
|
|
# FIXME - next line
|
|
APP_SECRET_TOKEN=4714932e88290ad2bacbafc56a8d1df59ca02e3fde1eaec379d96a2834e1d9cc15a80610d432246af74a9cef1c0974e0acdff08fac44a2f7c8cdb3a230e212bd
|
|
|
|
# This is the domain where your Huginn instance will be running. The default should work
|
|
# for development, but it needs to be changed to your Huginn domain when you deploy to a
|
|
# production environment (e.g., yourdomain.com, possibly including a port).
|
|
# FIXME - next line
|
|
DOMAIN=localhost:3000
|
|
|
|
# Optionally set an asset host
|
|
# ASSET_HOST=http://assets.example.com
|
|
|
|
############################
|
|
# Database Setup #
|
|
############################
|
|
|
|
# FIXME - At least the DATABASE_USERNAME and DATABASE_PASSWORD
|
|
DATABASE_ADAPTER=mysql2
|
|
DATABASE_ENCODING=utf8mb4
|
|
DATABASE_RECONNECT=true
|
|
DATABASE_NAME=huginn_production
|
|
DATABASE_POOL=20
|
|
DATABASE_USERNAME=huginn
|
|
DATABASE_PASSWORD=mysqlpassword
|
|
#DATABASE_HOST=your-domain-here.com
|
|
#DATABASE_PORT=3306
|
|
#DATABASE_SOCKET=/tmp/mysql.sock
|
|
|
|
# MySQL only: If you are running a MySQL server >=5.5.3, you should
|
|
# set DATABASE_ENCODING to utf8mb4 instead of utf8 so that the
|
|
# database can hold 4-byte UTF-8 characters like emoji.
|
|
#DATABASE_ENCODING=utf8mb4
|
|
|
|
# ==== Additional required production settings ====
|
|
|
|
# Configure Rails environment. This should only be needed in production and may cause errors in development.
|
|
RAILS_ENV=production
|
|
|
|
# Should Rails force all requests to use SSL?
|
|
FORCE_SSL=false
|
|
|
|
############################
|
|
# Allowing Signups #
|
|
############################
|
|
|
|
# This invitation code will be required for users to signup with your Huginn installation.
|
|
# You can see its use in user.rb. PLEASE CHANGE THIS!
|
|
INVITATION_CODE=try-huginn
|
|
|
|
# If you don't want to require new users to have an invitation code in order to sign up, set this to true.
|
|
SKIP_INVITATION_CODE=false
|
|
|
|
#############################
|
|
# Email Configuration #
|
|
#############################
|
|
|
|
# Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
|
|
# as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
|
|
#
|
|
# PLEASE NOTE: In order to enable sending real emails via SMTP locally (e.g., when not in the production Rails environment),
|
|
# you must also set SEND_EMAIL_IN_DEVELOPMENT to true below.
|
|
#
|
|
# If you have trouble with port 587 on Gmail, you can also try setting
|
|
# SMTP_AUTHENTICATION to login and the SMTP_PORT to 465.
|
|
|
|
# FIXME - At least the next four lines
|
|
SMTP_DOMAIN=example.com
|
|
SMTP_USER_NAME=huginn@mail.example.com
|
|
SMTP_PASSWORD=mailpassword
|
|
SMTP_SERVER=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_AUTHENTICATION=plain
|
|
SMTP_ENABLE_STARTTLS_AUTO=true
|
|
|
|
# Set to true to send real emails via SMTP when running in the development Rails environment.
|
|
# Set to false to have emails intercepted in development and displayed at http://localhost:3000/letter_opener
|
|
SEND_EMAIL_IN_DEVELOPMENT=false
|
|
|
|
# The address from which system emails will appear to be sent.
|
|
# FIXME - Next line
|
|
EMAIL_FROM_ADDRESS=huginn@example.com
|
|
|
|
###########################
|
|
# Agent Logging #
|
|
###########################
|
|
|
|
# Number of lines of log messages to keep per Agent
|
|
AGENT_LOG_LENGTH=200
|
|
|
|
########################################################################################################
|
|
# OAuth Configuration #
|
|
# More information at the wiki: https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications #
|
|
########################################################################################################
|
|
|
|
TWITTER_OAUTH_KEY=
|
|
TWITTER_OAUTH_SECRET=
|
|
|
|
THIRTY_SEVEN_SIGNALS_OAUTH_KEY=
|
|
THIRTY_SEVEN_SIGNALS_OAUTH_SECRET=
|
|
|
|
GITHUB_OAUTH_KEY=
|
|
GITHUB_OAUTH_SECRET=
|
|
|
|
TUMBLR_OAUTH_KEY=
|
|
TUMBLR_OAUTH_SECRET=
|
|
|
|
DROPBOX_OAUTH_KEY=
|
|
DROPBOX_OAUTH_SECRET=
|
|
|
|
WUNDERLIST_OAUTH_KEY=
|
|
WUNDERLIST_OAUTH_SECRET=
|
|
|
|
EVERNOTE_OAUTH_KEY=
|
|
EVERNOTE_OAUTH_SECRET=
|
|
# Set to true in development, false in production
|
|
USE_EVERNOTE_SANDBOX=true
|
|
|
|
#############################
|
|
# AWS and Mechanical Turk #
|
|
#############################
|
|
|
|
# AWS Credentials for MTurk
|
|
AWS_ACCESS_KEY_ID="your aws access key id"
|
|
AWS_ACCESS_KEY="your aws access key"
|
|
|
|
# Set AWS_SANDBOX to true if you're developing Huginn code.
|
|
AWS_SANDBOX=false
|
|
|
|
########################
|
|
# Various Settings #
|
|
########################
|
|
|
|
# Specify the HTTP backend library for Faraday, commonly used by
|
|
# WebsiteAgent, RssAgent and PostAgent. You can change this depending
|
|
# on the performance and stability you need for your service. Any
|
|
# choice other than "typhoeus", "net_http", or "em_http" should
|
|
# require you to bundle a corresponding gem via Gemfile.
|
|
FARADAY_HTTP_BACKEND=typhoeus
|
|
|
|
# Specify the default User-Agent header value for HTTP requests made
|
|
# by Agents that allow overriding the User-Agent header value.
|
|
DEFAULT_HTTP_USER_AGENT="Huginn - https://github.com/cantino/huginn"
|
|
|
|
# Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
|
|
# You should not allow this on a shared Huginn box because it is not secure.
|
|
ALLOW_JSONPATH_EVAL=false
|
|
|
|
# Enable this setting to allow insecure Agents like the ShellCommandAgent. Only do this
|
|
# when you trust everyone using your Huginn installation.
|
|
ENABLE_INSECURE_AGENTS=false
|
|
|
|
# Enable this setting to allow second precision schedule in
|
|
# SchedulerAgent. By default, the use of the "second" field is
|
|
# restricted so that any value other than a single zero (which means
|
|
# "on the minute") is disallowed to prevent abuse of service.
|
|
ENABLE_SECOND_PRECISION_SCHEDULE=false
|
|
|
|
# Specify the scheduler frequency in seconds (default: 0.3).
|
|
# Increasing this value will help reduce the use of system resources
|
|
# at the expense of time accuracy.
|
|
SCHEDULER_FREQUENCY=0.3
|
|
|
|
# Specify the frequency with which the scheduler checks for and cleans up expired events.
|
|
# You can use `m` for minutes, `h` for hours, and `d` for days.
|
|
EVENT_EXPIRATION_CHECK=6h
|
|
|
|
# Use Graphviz for generating diagrams instead of using Google Chart
|
|
# Tools. Specify a dot(1) command path built with SVG support
|
|
# enabled.
|
|
#USE_GRAPHVIZ_DOT=dot
|
|
|
|
# Default layout for agent flow diagrams generated by Graphviz.
|
|
# Choose from `circo`, `dot` (default), `fdp`, `neato`, `osage`,
|
|
# `patchwork`, `sfdp`, or `twopi`. Note that not all layouts are
|
|
# supported by Graphviz depending on the build options.
|
|
#DIAGRAM_DEFAULT_LAYOUT=dot
|
|
|
|
# Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name
|
|
# FIXME - Next line unless you are in the UK
|
|
TIMEZONE="London"
|
|
|
|
# Number of failed jobs to keep in the database
|
|
FAILED_JOBS_TO_KEEP=100
|
|
|
|
# Maximum runtime of background jobs in minutes
|
|
DELAYED_JOB_MAX_RUNTIME=2
|
|
|
|
# Amount of seconds for delayed_job to sleep before checking for new jobs
|
|
DELAYED_JOB_SLEEP_DELAY=10
|
|
|
|
###############################################################
|
|
# Capistrano deployment, read the documentation: #
|
|
# https://github.com/cantino/huginn/doc/manual/capistrano.md #
|
|
###############################################################
|
|
|
|
#CAPISTRANO_DEPLOY_SERVER=
|
|
#CAPISTRANO_DEPLOY_USER=
|
|
#CAPISTRANO_DEPLOY_REPO_URL=
|