.env.example 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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=5
  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. #############################
  39. # Email Configuration #
  40. #############################
  41. # Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
  42. # as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
  43. #
  44. # PLEASE NOTE: In order to enable emails locally (e.g., when not in the production Rails environment),
  45. # you must also change config.action_mailer.perform_deliveries in config/environments/development.rb.
  46. SMTP_DOMAIN=your-domain-here.com
  47. SMTP_USER_NAME=you@gmail.com
  48. SMTP_PASSWORD=somepassword
  49. SMTP_SERVER=smtp.gmail.com
  50. SMTP_PORT=587
  51. SMTP_AUTHENTICATION=plain
  52. SMTP_ENABLE_STARTTLS_AUTO=true
  53. # The address from which system emails will appear to be sent.
  54. EMAIL_FROM_ADDRESS=from_address@gmail.com
  55. ###########################
  56. # Agent Logging #
  57. ###########################
  58. # Number of lines of log messages to keep per Agent
  59. AGENT_LOG_LENGTH=200
  60. ########################################################################################################
  61. # OAuth Configuration #
  62. # More information at the wiki: https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications #
  63. ########################################################################################################
  64. TWITTER_OAUTH_KEY=
  65. TWITTER_OAUTH_SECRET=
  66. THIRTY_SEVEN_SIGNALS_OAUTH_KEY=
  67. THIRTY_SEVEN_SIGNALS_OAUTH_SECRET=
  68. GITHUB_OAUTH_KEY=
  69. GITHUB_OAUTH_SECRET=
  70. TUMBLR_OAUTH_KEY=
  71. TUMBLR_OAUTH_SECRET=
  72. #############################
  73. # AWS and Mechanical Turk #
  74. #############################
  75. # AWS Credentials for MTurk
  76. AWS_ACCESS_KEY_ID="your aws access key id"
  77. AWS_ACCESS_KEY="your aws access key"
  78. # Set AWS_SANDBOX to true if you're developing Huginn code.
  79. AWS_SANDBOX=false
  80. ########################
  81. # Various Settings #
  82. ########################
  83. # Specify the HTTP backend library for Faraday, commonly used by
  84. # WebsiteAgent, RssAgent and PostAgent. You can change this depending
  85. # on the performance and stability you need for your service. Any
  86. # choice other than "typhoeus", "net_http", or "em_http" should
  87. # require you to bundle a corresponding gem via Gemfile.
  88. FARADAY_HTTP_BACKEND=typhoeus
  89. # Specify the default User-Agent header value for HTTP requests made
  90. # by Agents that allow overriding the User-Agent header value.
  91. DEFAULT_HTTP_USER_AGENT="Huginn - https://github.com/cantino/huginn"
  92. # Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
  93. # You should not allow this on a shared Huginn box because it is not secure.
  94. ALLOW_JSONPATH_EVAL=false
  95. # Enable this setting to allow insecure Agents like the ShellCommandAgent. Only do this
  96. # when you trust everyone using your Huginn installation.
  97. ENABLE_INSECURE_AGENTS=false
  98. # Enable this setting to allow second precision schedule in
  99. # SchedulerAgent. By default, the use of the "second" field is
  100. # restricted so that any value other than a single zero (which means
  101. # "on the minute") is disallowed to prevent abuse of service.
  102. ENABLE_SECOND_PRECISION_SCHEDULE=false
  103. # Use Graphviz for generating diagrams instead of using Google Chart
  104. # Tools. Specify a dot(1) command path built with SVG support
  105. # enabled.
  106. #USE_GRAPHVIZ_DOT=dot
  107. # Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name
  108. TIMEZONE="Pacific Time (US & Canada)"
  109. # Number of failed jobs to keep in the database
  110. FAILED_JOBS_TO_KEEP=100