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.

90 lines
2.6 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. "SINGLE_USER_MODE": {
  30. "description": "Should the instance run in single user mode? (Disable registrations, redirect to front page)",
  31. "value": "false",
  32. "required": true
  33. },
  34. "S3_ENABLED": {
  35. "description": "Should Mastodon use Amazon S3 for storage? This is highly recommended, as Heroku does not have persistent file storage (files will be lost).",
  36. "value": "true",
  37. "required": false
  38. },
  39. "S3_BUCKET": {
  40. "description": "Amazon S3 Bucket",
  41. "required": false
  42. },
  43. "S3_REGION": {
  44. "description": "Amazon S3 region that the bucket is located in",
  45. "required": false
  46. },
  47. "AWS_ACCESS_KEY_ID": {
  48. "description": "Amazon S3 Access Key",
  49. "required": false
  50. },
  51. "AWS_SECRET_ACCESS_KEY": {
  52. "description": "Amazon S3 Secret Key",
  53. "required": false
  54. },
  55. "SMTP_SERVER": {
  56. "description": "Hostname for SMTP server, if you want to enable email",
  57. "required": false
  58. },
  59. "SMTP_PORT": {
  60. "description": "Port for SMTP server",
  61. "required": false
  62. },
  63. "SMTP_LOGIN": {
  64. "description": "Username for SMTP server",
  65. "required": false
  66. },
  67. "SMTP_PASSWORD": {
  68. "description": "Password for SMTP server",
  69. "required": false
  70. },
  71. "SMTP_DOMAIN": {
  72. "description": "Domain for SMTP server. Will default to instance domain if blank.",
  73. "required": false
  74. }
  75. },
  76. "buildpacks": [
  77. {
  78. "url": "heroku/nodejs"
  79. },
  80. {
  81. "url": "heroku/ruby"
  82. }
  83. ],
  84. "scripts": {
  85. "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
  86. },
  87. "addons": [
  88. "heroku-postgresql",
  89. "heroku-redis"
  90. ]
  91. }