Created
April 19, 2014 14:10
-
-
Save dsummersl/11085439 to your computer and use it in GitHub Desktop.
.env.openshift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ==== 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=gmail.com | |
[email protected] | |
SMTP_PASSWORD=MYPASS | |
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. | |
[email protected] | |
############################ | |
# 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="MYKEYID" | |
AWS_ACCESS_KEY="MYKEY" | |
# Set AWS_SANDBOX to true if you're developing Huginn code. | |
AWS_SANDBOX=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment