The code powering m.abunchtell.com https://m.abunchtell.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

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