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.

102 lines
2.9 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.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. "SECRET_KEY_BASE": {
  17. "description": "The secret key base",
  18. "generator": "secret"
  19. },
  20. "OTP_SECRET": {
  21. "description": "One-time password secret",
  22. "generator": "secret"
  23. },
  24. "SINGLE_USER_MODE": {
  25. "description": "Should the instance run in single user mode? (Disable registrations, redirect to front page)",
  26. "value": "false",
  27. "required": true
  28. },
  29. "S3_ENABLED": {
  30. "description": "Should Mastodon use Amazon S3 for storage? This is highly recommended, as Heroku does not have persistent file storage (files will be lost).",
  31. "value": "true",
  32. "required": false
  33. },
  34. "S3_BUCKET": {
  35. "description": "Amazon S3 Bucket",
  36. "required": false
  37. },
  38. "S3_REGION": {
  39. "description": "Amazon S3 region that the bucket is located in",
  40. "required": false
  41. },
  42. "AWS_ACCESS_KEY_ID": {
  43. "description": "Amazon S3 Access Key",
  44. "required": false
  45. },
  46. "AWS_SECRET_ACCESS_KEY": {
  47. "description": "Amazon S3 Secret Key",
  48. "required": false
  49. },
  50. "SMTP_SERVER": {
  51. "description": "Hostname for SMTP server, if you want to enable email",
  52. "required": false
  53. },
  54. "SMTP_PORT": {
  55. "description": "Port for SMTP server",
  56. "required": false
  57. },
  58. "SMTP_LOGIN": {
  59. "description": "Username for SMTP server",
  60. "required": false
  61. },
  62. "SMTP_PASSWORD": {
  63. "description": "Password for SMTP server",
  64. "required": false
  65. },
  66. "SMTP_DOMAIN": {
  67. "description": "Domain for SMTP server. Will default to instance domain if blank.",
  68. "required": false
  69. },
  70. "SMTP_FROM_ADDRESS": {
  71. "description": "Address to send emails from",
  72. "required": false
  73. },
  74. "SMTP_AUTH_METHOD": {
  75. "description": "Authentication method to use with SMTP server. Default is 'plain'.",
  76. "required": false
  77. },
  78. "SMTP_OPENSSL_VERIFY_MODE": {
  79. "description": "SMTP server certificate verification mode. Defaults is 'peer'.",
  80. "required": false
  81. },
  82. "SMTP_ENABLE_STARTTLS_AUTO": {
  83. "description": "Enable STARTTLS if SMTP server supports it? Default is true.",
  84. "required": false
  85. }
  86. },
  87. "buildpacks": [
  88. {
  89. "url": "https://github.com/heroku/heroku-buildpack-apt"
  90. },
  91. {
  92. "url": "heroku/ruby"
  93. }
  94. ],
  95. "scripts": {
  96. "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
  97. },
  98. "addons": [
  99. "heroku-postgresql",
  100. "heroku-redis"
  101. ]
  102. }