闭社主体 forked from https://github.com/tootsuite/mastodon
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.

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