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.

114 lines
3.3 KiB

  1. {
  2. "name": "Mastodon",
  3. "description": "A GNU Social-compatible microblogging server",
  4. "repository": "https://github.com/tootsuite/mastodon",
  5. "logo": "https://github.com/tootsuite/mastodon/raw/master/app/assets/images/logo.png",
  6. "env": {
  7. "HEROKU": {
  8. "description": "Leave this as true",
  9. "value": "true",
  10. "required": true
  11. },
  12. "LOCAL_DOMAIN": {
  13. "description": "The domain that your Mastodon instance will run on (this can be appname.herokuapp.com or a custom domain)",
  14. "required": true
  15. },
  16. "LOCAL_HTTPS": {
  17. "description": "Will your domain support HTTPS? (Automatic for herokuapp, requires manual configuration for custom domains)",
  18. "value": "false",
  19. "required": true
  20. },
  21. "PAPERCLIP_SECRET": {
  22. "description": "The secret key for storing media files",
  23. "generator": "secret"
  24. },
  25. "SECRET_KEY_BASE": {
  26. "description": "The secret key base",
  27. "generator": "secret"
  28. },
  29. "OTP_SECRET": {
  30. "description": "One-time password secret",
  31. "generator": "secret"
  32. },
  33. "SINGLE_USER_MODE": {
  34. "description": "Should the instance run in single user mode? (Disable registrations, redirect to front page)",
  35. "value": "false",
  36. "required": true
  37. },
  38. "S3_ENABLED": {
  39. "description": "Should Mastodon use Amazon S3 for storage? This is highly recommended, as Heroku does not have persistent file storage (files will be lost).",
  40. "value": "true",
  41. "required": false
  42. },
  43. "S3_BUCKET": {
  44. "description": "Amazon S3 Bucket",
  45. "required": false
  46. },
  47. "S3_REGION": {
  48. "description": "Amazon S3 region that the bucket is located in",
  49. "required": false
  50. },
  51. "AWS_ACCESS_KEY_ID": {
  52. "description": "Amazon S3 Access Key",
  53. "required": false
  54. },
  55. "AWS_SECRET_ACCESS_KEY": {
  56. "description": "Amazon S3 Secret Key",
  57. "required": false
  58. },
  59. "SMTP_SERVER": {
  60. "description": "Hostname for SMTP server, if you want to enable email",
  61. "required": false
  62. },
  63. "SMTP_PORT": {
  64. "description": "Port for SMTP server",
  65. "required": false
  66. },
  67. "SMTP_LOGIN": {
  68. "description": "Username for SMTP server",
  69. "required": false
  70. },
  71. "SMTP_PASSWORD": {
  72. "description": "Password for SMTP server",
  73. "required": false
  74. },
  75. "SMTP_DOMAIN": {
  76. "description": "Domain for SMTP server. Will default to instance domain if blank.",
  77. "required": false
  78. },
  79. "SMTP_FROM_ADDRESS": {
  80. "description": "Address to send emails from",
  81. "required": false
  82. },
  83. "SMTP_AUTH_METHOD": {
  84. "description": "Authentication method to use with SMTP server. Default is 'plain'.",
  85. "required": false
  86. },
  87. "SMTP_OPENSSL_VERIFY_MODE": {
  88. "description": "SMTP server certificate verification mode. Defaults is 'peer'.",
  89. "required": false
  90. },
  91. "SMTP_ENABLE_STARTTLS_AUTO": {
  92. "description": "Enable STARTTLS if SMTP server supports it? Default is true.",
  93. "required": false
  94. }
  95. },
  96. "buildpacks": [
  97. {
  98. "url": "https://github.com/heroku/heroku-buildpack-apt"
  99. },
  100. {
  101. "url": "heroku/nodejs"
  102. },
  103. {
  104. "url": "heroku/ruby"
  105. }
  106. ],
  107. "scripts": {
  108. "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
  109. },
  110. "addons": [
  111. "heroku-postgresql",
  112. "heroku-redis"
  113. ]
  114. }