forked from huginn/huginn
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example.openshift
97 lines (75 loc) · 3.16 KB
/
.env.example.openshift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# ==== Required configuration settings for Huginn ====
# Replace the following with the output from "rake secret"
# (unnecessary, since we'll be using the OpenShift-provided secret)
# APP_SECRET_TOKEN=REPLACE_ME_NOW!
# 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).
DOMAIN=$OPENSHIFT_APP_DNS
# Optionally set an asset host
# ASSET_HOST=http://assets.example.com
############################
# Database Setup #
############################
DATABASE_ADAPTER=mysql2
DATABASE_ENCODING=utf8
DATABASE_RECONNECT=true
DATABASE_NAME=$OPENSHIFT_APP_NAME
DATABASE_POOL=5
DATABASE_USERNAME=$OPENSHIFT_MYSQL_DB_USERNAME
DATABASE_PASSWORD=$OPENSHIFT_MYSQL_DB_PASSWORD
DATABASE_HOST=$OPENSHIFT_MYSQL_DB_HOST
DATABASE_PORT=$OPENSHIFT_MYSQL_DB_PORT
#DATABASE_SOCKET=$OPENSHIFT_MYSQL_DB_SOCKET
# ==== Additional required production settings ====
# Configure Rails environment. This should only be needed in production and may cause errors in development.
# RAILS_ENV=production
#############################
# 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 emails locally (e.g., when not in the production Rails environment),
# you must also change config.action_mailer.perform_deliveries in config/environments/development.rb.
SMTP_DOMAIN=your-domain-here.com
SMTP_PASSWORD=somepassword
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_AUTHENTICATION=plain
SMTP_ENABLE_STARTTLS_AUTO=true
# The address from which system emails will appear to be sent.
############################
# Allowing Signups #
############################
# This invitation code will be required for users to signup with your Huginn installation.
# You can see its use in user.rb.
INVITATION_CODE=try-huginn
###########################
# Agent Logging #
###########################
# Number of lines of log messages to keep per Agent
AGENT_LOG_LENGTH=200
#############################
# 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 #
########################
# 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
# 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