Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2017
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.52 KB | None | 0 0
  1. # ==== Required configuration settings for Huginn ====
  2.  
  3. # Replace the following with the output from "rake secret"
  4. APP_SECRET_TOKEN=cc07ded2b11bca032996e4de4a4211d0f1f17dcb4a74bc55bf3bedfa5baf0ef9e94242ec5e08ffb9fa7750be87968e1b0c263f14ab7339b3c2a879b70afdf907
  5.  
  6. # This is the domain where your Huginn instance will be running. The default should work
  7. # for development, but it needs to be changed to your Huginn domain when you deploy to a
  8. # production environment (e.g., yourdomain.com, possibly including a port).
  9. DOMAIN=localhost:3000
  10. PORT=3000
  11.  
  12. # Optionally set an asset host
  13. # ASSET_HOST=http://assets.example.com
  14.  
  15. ############################
  16. # Database Setup #
  17. ############################
  18.  
  19. DATABASE_ADAPTER=postgresql
  20. DATABASE_ENCODING=utf8
  21. DATABASE_RECONNECT=true
  22. DATABASE_NAME=huginn_dev
  23. DATABASE_POOL=20
  24. DATABASE_USERNAME=postgres
  25. DATABASE_PASSWORD=nourish
  26. #DATABASE_HOST=your-domain-here.com
  27. #DATABASE_PORT=3306
  28. #DATABASE_SOCKET=/tmp/mysql.sock
  29.  
  30. # MySQL only: If you are running a MySQL server >=5.5.3, you should
  31. # set DATABASE_ENCODING to utf8mb4 instead of utf8 so that the
  32. # database can hold 4-byte UTF-8 characters like emoji.
  33. #DATABASE_ENCODING=utf8mb4
  34.  
  35. # ==== Additional required production settings ====
  36.  
  37. # Configure Rails environment. This should only be needed in production and may cause errors in development.
  38. # RAILS_ENV=production
  39.  
  40. # Should Rails force all requests to use SSL?
  41. FORCE_SSL=true
  42.  
  43. ################################################
  44. # User authentication and registration #
  45. ################################################
  46.  
  47. # This invitation code will be required for users to signup with your Huginn installation.
  48. # You can see its use in user.rb. PLEASE CHANGE THIS!
  49. INVITATION_CODE=try-huginn
  50.  
  51. # If you don't want to require new users to have an invitation code in order to sign up, set this to true.
  52. SKIP_INVITATION_CODE=false
  53.  
  54. # If you'd like to require new users to confirm their email address after sign up, set this to true.
  55. REQUIRE_CONFIRMED_EMAIL=false
  56.  
  57. # If REQUIRE_CONFIRMED_EMAIL is true, set this to the duration in which a user needs to confirm their email address.
  58. ALLOW_UNCONFIRMED_ACCESS_FOR=2.days
  59.  
  60. # Duration for which the above confirmation token is valid
  61. CONFIRM_WITHIN=3.days
  62.  
  63. # Minimum password length
  64. MIN_PASSWORD_LENGTH=8
  65.  
  66. # Duration for which the reset password token is valid
  67. RESET_PASSWORD_WITHIN=6.hours
  68.  
  69. # Set to 'failed_attempts' to lock user accounts for the UNLOCK_AFTER period they fail MAX_FAILED_LOGIN_ATTEMPTS login attempts. Set to 'none' to allow unlimited failed login attempts.
  70. LOCK_STRATEGY=failed_attempts
  71.  
  72. # After how many failed login attempts the account is locked when LOCK_STRATEGY is set to failed_attempts.
  73. MAX_FAILED_LOGIN_ATTEMPTS=10
  74.  
  75. # Can be set to 'email', 'time', 'both' or 'none'. 'none' requires manual unlocking of your users!
  76. UNLOCK_STRATEGY=both
  77.  
  78. # Duration after which the user is unlocked when UNLOCK_STRATEGY is 'both' or 'time' and LOCK_STRATEGY is 'failed_attempts'
  79. UNLOCK_AFTER=1.hour
  80.  
  81. # Duration for which the user will be remembered without asking for credentials again.
  82. REMEMBER_FOR=4.weeks
  83.  
  84. # Set to 'true' if you would prefer new users to start with a default set of agents
  85. IMPORT_DEFAULT_SCENARIO_FOR_ALL_USERS=true
  86.  
  87. # Users can be given a default set of agents to get them started
  88. # You can override this scenario with your own scenario via file path or URL
  89. # DEFAULT_SCENARIO_FILE=path-or-url-to-scenario.json
  90.  
  91. #############################
  92. # Email Configuration #
  93. #############################
  94.  
  95. # Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
  96. # as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
  97. #
  98. # PLEASE NOTE: In order to enable sending real emails via SMTP locally (e.g., when not in the production Rails environment),
  99. # you must also set SEND_EMAIL_IN_DEVELOPMENT to true below.
  100. #
  101. # If you have trouble with port 587 on Gmail, you can also try setting
  102. # SMTP_AUTHENTICATION to login and the SMTP_PORT to 465.
  103.  
  104. SMTP_DOMAIN=your-domain-here.com
  105. SMTP_USER_NAME=you@gmail.com
  106. SMTP_PASSWORD=somepassword
  107. SMTP_SERVER=smtp.gmail.com
  108. SMTP_PORT=587
  109. SMTP_AUTHENTICATION=plain
  110. SMTP_ENABLE_STARTTLS_AUTO=true
  111.  
  112. # Set to true to send real emails via SMTP when running in the development Rails environment.
  113. # Set to false to have emails intercepted in development and displayed at http://localhost:3000/letter_opener
  114. SEND_EMAIL_IN_DEVELOPMENT=false
  115.  
  116. # The address from which system emails will appear to be sent.
  117. EMAIL_FROM_ADDRESS=from_address@gmail.com
  118.  
  119. ###########################
  120. # Agent Logging #
  121. ###########################
  122.  
  123. # Number of lines of log messages to keep per Agent
  124. AGENT_LOG_LENGTH=200
  125.  
  126. ########################################################################################################
  127. # OAuth Configuration #
  128. # More information at the wiki: https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications #
  129. ########################################################################################################
  130.  
  131. TWITTER_OAUTH_KEY=
  132. TWITTER_OAUTH_SECRET=
  133.  
  134. THIRTY_SEVEN_SIGNALS_OAUTH_KEY=
  135. THIRTY_SEVEN_SIGNALS_OAUTH_SECRET=
  136.  
  137. GITHUB_OAUTH_KEY=
  138. GITHUB_OAUTH_SECRET=
  139.  
  140. TUMBLR_OAUTH_KEY=
  141. TUMBLR_OAUTH_SECRET=
  142.  
  143. DROPBOX_OAUTH_KEY=
  144. DROPBOX_OAUTH_SECRET=
  145.  
  146. WUNDERLIST_OAUTH_KEY=
  147. WUNDERLIST_OAUTH_SECRET=
  148.  
  149. EVERNOTE_OAUTH_KEY=
  150. EVERNOTE_OAUTH_SECRET=
  151. # Set to true in development, false in production
  152. USE_EVERNOTE_SANDBOX=true
  153.  
  154. #############################
  155. # AWS and Mechanical Turk #
  156. #############################
  157.  
  158. # AWS Credentials for MTurk
  159. AWS_ACCESS_KEY_ID="your aws access key id"
  160. AWS_ACCESS_KEY="your aws access key"
  161.  
  162. # Set AWS_SANDBOX to true if you're developing Huginn code.
  163. AWS_SANDBOX=false
  164.  
  165. #########################
  166. # Additional Agent gems #
  167. #########################
  168.  
  169. # Agent gems can be added to Huginn by specifying them in a comma separated
  170. # list, the gem version and arguments for the gem command are optional.
  171. # When not providing a git(hub) repository the gem needs to be published to
  172. # https://rubygems.org.
  173. # Check http://bundler.io/v1.11/git.html for a list of valid arguments.
  174. #
  175. # Configuration examples:
  176. #
  177. # ADDITIONAL_GEMS=huginn_nlp_agents,test_agent
  178. # ADDITIONAL_GEMS=huginn_nlp_agents(~> 0.2.1),test_agent
  179. # ADDITIONAL_GEMS=huginn_nlp_agents(git: https://github.com/kreuzwerker/DKT.huginn_nlp_agents.git),test_agent
  180. # ADDITIONAL_GEMS=huginn_nlp_agents(github: kreuzwerker/DKT.huginn_nlp_agents),test_agent
  181. # ADDITIONAL_GEMS=huginn_nlp_agents(~> 0.2.1, git: https://github.com/kreuzwerker/DKT.huginn_nlp_agents.git),test_agent
  182.  
  183. ########################
  184. # Various Settings #
  185. ########################
  186.  
  187. # Specify the HTTP backend library for Faraday, commonly used by
  188. # WebsiteAgent, RssAgent and PostAgent. You can change this depending
  189. # on the performance and stability you need for your service. Any
  190. # choice other than "typhoeus", "net_http", or "em_http" should
  191. # require you to bundle a corresponding gem via Gemfile.
  192. FARADAY_HTTP_BACKEND=typhoeus
  193.  
  194. # Specify the default User-Agent header value for HTTP requests made
  195. # by Agents that allow overriding the User-Agent header value.
  196. DEFAULT_HTTP_USER_AGENT="Huginn - https://github.com/cantino/huginn"
  197.  
  198. # Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
  199. # You should not allow this on a shared Huginn box because it is not secure.
  200. ALLOW_JSONPATH_EVAL=false
  201.  
  202. # Enable this setting to allow insecure Agents like the ShellCommandAgent. Only do this
  203. # when you trust everyone using your Huginn installation.
  204. ENABLE_INSECURE_AGENTS=false
  205.  
  206. # Enable this setting to allow second precision schedule in
  207. # SchedulerAgent. By default, the use of the "second" field is
  208. # restricted so that any value other than a single zero (which means
  209. # "on the minute") is disallowed to prevent abuse of service.
  210. ENABLE_SECOND_PRECISION_SCHEDULE=false
  211.  
  212. # Specify the scheduler frequency in seconds (default: 0.3).
  213. # Increasing this value will help reduce the use of system resources
  214. # at the expense of time accuracy.
  215. SCHEDULER_FREQUENCY=0.3
  216.  
  217. # Specify the frequency with which the scheduler checks for and cleans up expired events.
  218. # You can use `m` for minutes, `h` for hours, and `d` for days.
  219. EVENT_EXPIRATION_CHECK=6h
  220.  
  221. # Use Graphviz for generating diagrams instead of using Google Chart
  222. # Tools. Specify a dot(1) command path built with SVG support
  223. # enabled.
  224. #USE_GRAPHVIZ_DOT=dot
  225.  
  226. # Default layout for agent flow diagrams generated by Graphviz.
  227. # Choose from `circo`, `dot` (default), `fdp`, `neato`, `osage`,
  228. # `patchwork`, `sfdp`, or `twopi`. Note that not all layouts are
  229. # supported by Graphviz depending on the build options.
  230. #DIAGRAM_DEFAULT_LAYOUT=dot
  231.  
  232. # Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name
  233. TIMEZONE="Pacific Time (US & Canada)"
  234.  
  235. # Number of failed jobs to keep in the database
  236. FAILED_JOBS_TO_KEEP=100
  237.  
  238. # Maximum runtime of background jobs in minutes
  239. DELAYED_JOB_MAX_RUNTIME=2
  240.  
  241. # Amount of seconds for delayed_job to sleep before checking for new jobs
  242. DELAYED_JOB_SLEEP_DELAY=10
  243.  
  244. ###############################################################
  245. # Capistrano deployment, read the documentation: #
  246. # https://github.com/cantino/huginn/doc/manual/capistrano.md #
  247. ###############################################################
  248.  
  249. #CAPISTRANO_DEPLOY_SERVER=
  250. #CAPISTRANO_DEPLOY_USER=
  251. #CAPISTRANO_DEPLOY_REPO_URL=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement