.env.example 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. # ==== Required configuration settings for Huginn ====
  2. # Replace the following with the output from "rake secret"
  3. APP_SECRET_TOKEN=REPLACE_ME_NOW!
  4. # This is the domain where your Huginn instance will be running. The default should work
  5. # for development, but it needs to be changed to your Huginn domain when you deploy to a
  6. # production environment (e.g., yourdomain.com, possibly including a port).
  7. DOMAIN=localhost:3000
  8. # Optionally set an asset host
  9. # ASSET_HOST=http://assets.example.com
  10. ############################
  11. # Database Setup #
  12. ############################
  13. DATABASE_ADAPTER=mysql2
  14. DATABASE_ENCODING=utf8
  15. DATABASE_RECONNECT=true
  16. DATABASE_NAME=huginn_development
  17. DATABASE_POOL=10
  18. DATABASE_USERNAME=root
  19. DATABASE_PASSWORD=""
  20. #DATABASE_HOST=your-domain-here.com
  21. #DATABASE_PORT=3306
  22. #DATABASE_SOCKET=/tmp/mysql.sock
  23. # MySQL only: If you are running a MySQL server >=5.5.3, you should
  24. # set DATABASE_ENCODING to utf8mb4 instead of utf8 so that the
  25. # database can hold 4-byte UTF-8 characters like emoji.
  26. #DATABASE_ENCODING=utf8mb4
  27. # ==== Additional required production settings ====
  28. # Configure Rails environment. This should only be needed in production and may cause errors in development.
  29. # RAILS_ENV=production
  30. # Should Rails force all requests to use SSL?
  31. FORCE_SSL=false
  32. ############################
  33. # Allowing Signups #
  34. ############################
  35. # This invitation code will be required for users to signup with your Huginn installation.
  36. # You can see its use in user.rb. PLEASE CHANGE THIS!
  37. INVITATION_CODE=try-huginn
  38. # If you don't want to require new users to have an invitation code in order to sign up, set this to true.
  39. SKIP_INVITATION_CODE=false
  40. #############################
  41. # Email Configuration #
  42. #############################
  43. # Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
  44. # as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
  45. #
  46. # PLEASE NOTE: In order to enable sending real emails via SMTP locally (e.g., when not in the production Rails environment),
  47. # you must also set SEND_EMAIL_IN_DEVELOPMENT to true below.
  48. #
  49. # If you have trouble with port 587 on Gmail, you can also try setting
  50. # SMTP_AUTHENTICATION to login and the SMTP_PORT to 465.
  51. SMTP_DOMAIN=your-domain-here.com
  52. SMTP_USER_NAME=you@gmail.com
  53. SMTP_PASSWORD=somepassword
  54. SMTP_SERVER=smtp.gmail.com
  55. SMTP_PORT=587
  56. SMTP_AUTHENTICATION=plain
  57. SMTP_ENABLE_STARTTLS_AUTO=true
  58. # Set to true to send real emails via SMTP when running in the development Rails environment.
  59. # Set to false to have emails intercepted in development and displayed at http://localhost:3000/letter_opener
  60. SEND_EMAIL_IN_DEVELOPMENT=false
  61. # The address from which system emails will appear to be sent.
  62. EMAIL_FROM_ADDRESS=from_address@gmail.com
  63. ###########################
  64. # Agent Logging #
  65. ###########################
  66. # Number of lines of log messages to keep per Agent
  67. AGENT_LOG_LENGTH=200
  68. ########################################################################################################
  69. # OAuth Configuration #
  70. # More information at the wiki: https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications #
  71. ########################################################################################################
  72. TWITTER_OAUTH_KEY=
  73. TWITTER_OAUTH_SECRET=
  74. THIRTY_SEVEN_SIGNALS_OAUTH_KEY=
  75. THIRTY_SEVEN_SIGNALS_OAUTH_SECRET=
  76. GITHUB_OAUTH_KEY=
  77. GITHUB_OAUTH_SECRET=
  78. TUMBLR_OAUTH_KEY=
  79. TUMBLR_OAUTH_SECRET=
  80. DROPBOX_OAUTH_KEY=
  81. DROPBOX_OAUTH_SECRET=
  82. WUNDERLIST_OAUTH_KEY=
  83. WUNDERLIST_OAUTH_SECRET=
  84. EVERNOTE_OAUTH_KEY=
  85. EVERNOTE_OAUTH_SECRET=
  86. # Set to true in development, false in production
  87. USE_EVERNOTE_SANDBOX=true
  88. #############################
  89. # AWS and Mechanical Turk #
  90. #############################
  91. # AWS Credentials for MTurk
  92. AWS_ACCESS_KEY_ID="your aws access key id"
  93. AWS_ACCESS_KEY="your aws access key"
  94. # Set AWS_SANDBOX to true if you're developing Huginn code.
  95. AWS_SANDBOX=false
  96. ########################
  97. # Various Settings #
  98. ########################
  99. # Specify the HTTP backend library for Faraday, commonly used by
  100. # WebsiteAgent, RssAgent and PostAgent. You can change this depending
  101. # on the performance and stability you need for your service. Any
  102. # choice other than "typhoeus", "net_http", or "em_http" should
  103. # require you to bundle a corresponding gem via Gemfile.
  104. FARADAY_HTTP_BACKEND=typhoeus
  105. # Specify the default User-Agent header value for HTTP requests made
  106. # by Agents that allow overriding the User-Agent header value.
  107. DEFAULT_HTTP_USER_AGENT="Huginn - https://github.com/cantino/huginn"
  108. # Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
  109. # You should not allow this on a shared Huginn box because it is not secure.
  110. ALLOW_JSONPATH_EVAL=false
  111. # Enable this setting to allow insecure Agents like the ShellCommandAgent. Only do this
  112. # when you trust everyone using your Huginn installation.
  113. ENABLE_INSECURE_AGENTS=false
  114. # Enable this setting to allow second precision schedule in
  115. # SchedulerAgent. By default, the use of the "second" field is
  116. # restricted so that any value other than a single zero (which means
  117. # "on the minute") is disallowed to prevent abuse of service.
  118. ENABLE_SECOND_PRECISION_SCHEDULE=false
  119. # Specify the scheduler frequency in seconds (default: 0.3).
  120. # Increasing this value will help reduce the use of system resources
  121. # at the expense of time accuracy.
  122. SCHEDULER_FREQUENCY=0.3
  123. # Specify the frequency with which the scheduler checks for and cleans up expired events.
  124. # You can use `m` for minutes, `h` for hours, and `d` for days.
  125. EVENT_EXPIRATION_CHECK=6h
  126. # Use Graphviz for generating diagrams instead of using Google Chart
  127. # Tools. Specify a dot(1) command path built with SVG support
  128. # enabled.
  129. #USE_GRAPHVIZ_DOT=dot
  130. # Default layout for agent flow diagrams generated by Graphviz.
  131. # Choose from `circo`, `dot` (default), `fdp`, `neato`, `osage`,
  132. # `patchwork`, `sfdp`, or `twopi`. Note that not all layouts are
  133. # supported by Graphviz depending on the build options.
  134. #DIAGRAM_DEFAULT_LAYOUT=dot
  135. # Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name
  136. TIMEZONE="Pacific Time (US & Canada)"
  137. # Number of failed jobs to keep in the database
  138. FAILED_JOBS_TO_KEEP=100
  139. # Maximum runtime of background jobs in minutes
  140. DELAYED_JOB_MAX_RUNTIME=2
  141. # Amount of seconds for delayed_job to sleep before checking for new jobs
  142. DELAYED_JOB_SLEEP_DELAY=10
  143. ###############################################################
  144. # Capistrano deployment, read the documentation: #
  145. # https://github.com/cantino/huginn/doc/manual/capistrano.md #
  146. ###############################################################
  147. #CAPISTRANO_DEPLOY_SERVER=
  148. #CAPISTRANO_DEPLOY_USER=
  149. #CAPISTRANO_DEPLOY_REPO_URL=