.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. # 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. # ==== Additional required production settings ====
  24. # Configure Rails environment. This should only be needed in production and may cause errors in development.
  25. # RAILS_ENV=production
  26. # Should Rails force all requests to use SSL?
  27. FORCE_SSL=false
  28. ############################
  29. # Allowing Signups #
  30. ############################
  31. # This invitation code will be required for users to signup with your Huginn installation.
  32. # You can see its use in user.rb. PLEASE CHANGE THIS!
  33. INVITATION_CODE=try-huginn
  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 change config.action_mailer.perform_deliveries in config/environments/development.rb.
  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. # The address from which system emails will appear to be sent.
  50. EMAIL_FROM_ADDRESS=from_address@gmail.com
  51. ###########################
  52. # Agent Logging #
  53. ###########################
  54. # Number of lines of log messages to keep per Agent
  55. AGENT_LOG_LENGTH=200
  56. #############################
  57. # AWS and Mechanical Turk #
  58. #############################
  59. # AWS Credentials for MTurk
  60. AWS_ACCESS_KEY_ID="your aws access key id"
  61. AWS_ACCESS_KEY="your aws access key"
  62. # Set AWS_SANDBOX to true if you're developing Huginn code.
  63. AWS_SANDBOX=false
  64. ########################
  65. # Various Settings #
  66. ########################
  67. # Specify the HTTP backend library for Faraday, used in WebsiteAgent.
  68. # You can change this depending on the performance and stability you
  69. # need for your service. Any choice other than "typhoeus",
  70. # "net_http", or "em_http" should require you to bundle a corresponding
  71. # gem via Gemfile.
  72. FARADAY_HTTP_BACKEND=typhoeus
  73. # Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
  74. # You should not allow this on a shared Huginn box because it is not secure.
  75. ALLOW_JSONPATH_EVAL=false
  76. # Enable this setting to allow insecure Agents like the ShellCommandAgent. Only do this
  77. # when you trust everyone using your Huginn installation.
  78. ENABLE_INSECURE_AGENTS=false
  79. # Use Graphviz for generating diagrams instead of using Google Chart
  80. # Tools. Specify a dot(1) command path built with SVG support
  81. # enabled.
  82. #USE_GRAPHVIZ_DOT=dot
  83. # Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name
  84. TIMEZONE="Pacific Time (US & Canada)"