scalingo.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. "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 Scalingo 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. "BUILDPACK_URL": {
  87. "description": "Internal scalingo configuration",
  88. "required": true,
  89. "value": "https://github.com/Scalingo/multi-buildpack.git"
  90. }
  91. },
  92. "scripts": {
  93. "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
  94. },
  95. "addons": [
  96. "scalingo-postgresql",
  97. "scalingo-redis"
  98. ]
  99. }