env.example 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. ############################
  9. # Database Setup #
  10. ############################
  11. DATABASE_ADAPTER=mysql2
  12. DATABASE_ENCODING=utf8
  13. DATABASE_RECONNECT=true
  14. DATABASE_NAME=huginn_production
  15. DATABASE_POOL=5
  16. DATABASE_USERNAME=root
  17. DATABASE_PASSWORD=password
  18. #DATABASE_HOST=your-domain-here.com
  19. #DATABASE_PORT=3306
  20. #DATABASE_SOCKET=/tmp/mysql.sock
  21. # ==== Additional required production settings ====
  22. # Configure Rails environment. This should only be needed in production and may cause errors in development.
  23. RAILS_ENV=production
  24. # Should Rails force all requests to use SSL?
  25. FORCE_SSL=false
  26. ############################
  27. # Allowing Signups #
  28. ############################
  29. # This invitation code will be required for users to signup with your Huginn installation.
  30. # You can see its use in user.rb. PLEASE CHANGE THIS!
  31. INVITATION_CODE=try-huginn
  32. # If you don't want to require users to have an invitation code, set this to true
  33. SKIP_INVITATION_CODE=false
  34. #############################
  35. # Email Configuration #
  36. #############################
  37. # Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
  38. # as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
  39. #
  40. # PLEASE NOTE: In order to enable emails locally (e.g., when not in the production Rails environment),
  41. # you must also set SEND_EMAIL_IN_DEVELOPMENT to true below.
  42. SMTP_DOMAIN=your-domain-here.com
  43. SMTP_USER_NAME=you@gmail.com
  44. SMTP_PASSWORD=somepassword
  45. SMTP_SERVER=smtp.gmail.com
  46. SMTP_PORT=587
  47. SMTP_AUTHENTICATION=plain
  48. SMTP_ENABLE_STARTTLS_AUTO=true
  49. # Send emails when running in the development Rails environment.
  50. SEND_EMAIL_IN_DEVELOPMENT=false
  51. # The address from which system emails will appear to be sent.
  52. EMAIL_FROM_ADDRESS=from_address@gmail.com
  53. ###########################
  54. # Agent Logging #
  55. ###########################
  56. # Number of lines of log messages to keep per Agent
  57. AGENT_LOG_LENGTH=200
  58. #############################
  59. # AWS and Mechanical Turk #
  60. #############################
  61. # AWS Credentials for MTurk
  62. AWS_ACCESS_KEY_ID=YOUR-AWS-ACCESS-KEY-ID
  63. AWS_ACCESS_KEY=YOUR-AWS-ACCESS-KEY
  64. # Set AWS_SANDBOX to true if you're developing Huginn code.
  65. AWS_SANDBOX=false
  66. ########################
  67. # Various Settings #
  68. ########################
  69. # Specify the HTTP backend library for Faraday, used in WebsiteAgent.
  70. # You can change this depending on the performance and stability you
  71. # need for your service. Any choice other than "typhoeus",
  72. # "net_http", or "em_http" should require you to bundle a corresponding
  73. # gem via Gemfile.
  74. FARADAY_HTTP_BACKEND=typhoeus
  75. # Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
  76. # You should not allow this on a shared Huginn box because it is not secure.
  77. ALLOW_JSONPATH_EVAL=false
  78. # Enable this setting to allow insecure Agents like the ShellCommandAgent. Only do this
  79. # when you trust everyone using your Huginn installation.
  80. ENABLE_INSECURE_AGENTS=false
  81. # Use Graphviz for generating diagrams instead of using Google Chart
  82. # Tools. Specify a dot(1) command path built with SVG support
  83. # enabled.
  84. #USE_GRAPHVIZ_DOT=dot