Web application designed to perform digital humanities research tasks on a database of journal articles https://www.rletters.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

158 lines
5.4 KiB

  1. # ----------------------------------------------------------------------------
  2. # Personalization and branding
  3. # The name of the application
  4. # APP_NAME=RLetters
  5. # The e-mail address contact for the application
  6. # APP_EMAIL=noreply@example.com
  7. # The password which will be used to log into the administration interface.
  8. # Notably, this being stored here does not decrease security: if you have
  9. # access to the process environment, you have access to the database connection
  10. # information, and so you could do anything that is possible in the site
  11. # administration interface anyway.
  12. #
  13. # This password will be automatically regenerated on deployment with Ansible,
  14. # you must change it yourself if you deploy manually!
  15. ADMIN_PASSWORD=adminpw
  16. # The primary color of your branding, which will be used in MS tile colors, the
  17. # Safari pinned-tab icon, etc.
  18. # BRANDING_COLOR='#007bff'
  19. # If set, add a Bootswatch theme to Bootstrap. Check out the list of themes at
  20. # https://bootswatch.com/.
  21. # BOOTSWATCH_THEME=cerulean
  22. # ----------------------------------------------------------------------------
  23. # Server settings
  24. # Puma can serve the application code in multiple worker processes if you
  25. # configure it here.
  26. WEB_CONCURRENCY=2
  27. # Each worker process can then run the requested number of Rails threads.
  28. RAILS_MAX_THREADS=5
  29. # If this variable is uncommented, force all app connections to occur
  30. # over HTTPS, and send secure-only cookies.
  31. # HTTPS_ONLY=true
  32. # If this variable is set, delayed jobs will not actually delay, and will run
  33. # immediately, blocking the web server. Useful only for local deployments on
  34. # small datasets.
  35. # BLOCKING_JOBS=true
  36. # Set this timeout to whatever you find reasonable for your installation.
  37. # Twelve hours is a reasonable default; jobs running longer than that may well
  38. # have failed, unless you have a very large corpus.
  39. # JOB_TIMEOUT=12
  40. # URL to the database. We only support PostgreSQL, and we recommend a pool
  41. # size of at least 20, to account for concurrency in the frontend and a
  42. # reasonable number of workers in the backend.
  43. #
  44. # This default URL connects to the local user socket, which is usually what
  45. # you want on a development machine.
  46. DATABASE_URL=postgres:///rletters
  47. # URL to the Solr instance. This must be set up using RLetters' Solr schema,
  48. # which can be found here:
  49. # <https://codeberg.org/rletters/solr-example-3.0/blob/master/solr/collection1/conf/schema.xml>
  50. #
  51. # This default URL connects to the example Solr instance that can be deployed
  52. # by checking out the repository where the schema is found.
  53. SOLR_URL=http://127.0.0.1:8983/solr/core1
  54. # The timeout for connections to Solr, in seconds. The default is incredibly
  55. # high, because running large Solr queries can result in exceptional query
  56. # times in many configurations. Lower this at your own risk.
  57. # SOLR_TIMEOUT=120
  58. # File storage directory. If unset, we'll default to using the Rails-local
  59. # 'tmp/storage' directory.
  60. # FILE_PATH=
  61. # S3 credentials for file storage. If all of the following block of
  62. # configuration values is set, we will upload all files to the given S3
  63. # bucket rather than saving them locally.
  64. # S3_ACCESS_KEY_ID=123...
  65. # S3_SECRET_ACCESS_KEY=abc...
  66. # S3_BUCKET=bucket_name
  67. # S3_REGION=us-east-1
  68. # If this variable is set, we will enable Sentry for error reporting.
  69. # SENTRY_DSN=https://credentials@sentry.io/1234
  70. # ----------------------------------------------------------------------------
  71. # Email settings
  72. # The domain name from which application e-mail should originate
  73. # MAIL_DOMAIN=example.com
  74. # The delivery method that should be used for email (should be one of
  75. # mailgun, mandrill, postmark, sendgrid, sendmail, smtp)
  76. # MAIL_DELIVERY_METHOD=sendmail
  77. # Configuration variables for all of the various mail delivery options
  78. # available in RLetters
  79. # Mailgun
  80. # MAILGUN_API_KEY=your-api-key
  81. # Mandrill
  82. # MANDRILL_API_KEY=your-api-key
  83. # Postmark
  84. # POSTMARK_API_KEY=your-api-key
  85. # Sendgrid
  86. # SENDGRID_API_USER=your-username
  87. # SENDGRID_API_KEY=your-password
  88. # Sendmail (local MTA)
  89. # SENDMAIL_LOCATION=/usr/sbin/sendmail
  90. # SENDMAIL_ARGUMENTS=-i -t
  91. # SMTP server
  92. # SMTP_ADDRESS=localhost
  93. # SMTP_PORT=25
  94. # SMTP_DOMAIN=helo.domain.com
  95. # SMTP_USERNAME=your-username
  96. # SMTP_PASSWORD=your-password
  97. # SMTP_AUTHENTICATION=plain,login,cram_md5
  98. # SMTP_ENABLE_STARTTLS_AUTO=true
  99. # SMTP_OPENSSL_VERIFY_MODE=none,peer,client_once,fail_if_no_peer_cert
  100. # ----------------------------------------------------------------------------
  101. # Feature flags
  102. # If specified, show a maintenance message at the top of every page as a
  103. # non-dismissable alert.
  104. # MAINTENANCE_MESSAGE='Down for maintenance on Sunday...'
  105. # Every analysis job can be optionally disabled using the feature flags in
  106. # the following block, if your users do not require them and/or they are
  107. # proving computationally prohibitive on your installation.
  108. # ARTICLE_DATES_JOB_DISABLED=1
  109. # COLLOCATION_JOB_DISABLED=1
  110. # COOCCURRENCE_JOB_DISABLED=1
  111. # CRAIG_ZETA_JOB_DISABLED=1
  112. # EXPORT_CITATIONS_JOB_DISABLED=1
  113. # PROPER_NAMES_JOB_DISABLED=1
  114. # NETWORK_JOB_DISABLED=1
  115. # TERM_DATES_JOB_DISABLED=1
  116. # WORD_FREQUENCY_JOB_DISABLED=1
  117. # ----------------------------------------------------------------------------
  118. # Secret keys
  119. # The following lines will be regenerated automatically by default when you
  120. # deploy using Ansible. If you deploy manually, you can run
  121. # `rake rletters:secrets:env` to recreate them yourself.
  122. #
  123. # In either event, if they are not regenerated before starting up in
  124. # production, an error will be raised.
  125. # SECRET_KEY_BASE=asdf
  126. # DEVISE_SECRET_KEY=asdf