scalingo.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "Mastodon",
  3. "description": "A GNU Social-compatible microblogging server",
  4. "repository": "https://github.com/mastodon/mastodon",
  5. "logo": "https://github.com/mastodon.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": {
  78. "description": "Enable STARTTLS? Default is 'auto'.",
  79. "value": "auto",
  80. "required": false
  81. },
  82. "SMTP_ENABLE_STARTTLS_AUTO": {
  83. "description": "Enable STARTTLS if SMTP server supports it? Deprecated by SMTP_ENABLE_STARTTLS.",
  84. "required": false
  85. },
  86. "BUILDPACK_URL": {
  87. "description": "Internal scalingo configuration",
  88. "required": true,
  89. "value": "https://github.com/Scalingo/multi-buildpack.git"
  90. },
  91. "WITH_FFPROBE": {
  92. "description": "Internal scalingo configuration to install ffprobe",
  93. "required": true,
  94. "value": "true"
  95. }
  96. },
  97. "scripts": {
  98. "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
  99. },
  100. "addons": ["postgresql", "redis"]
  101. }