scalingo.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. "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. "BUILDPACK_URL": {
  75. "description": "Internal scalingo configuration",
  76. "required": true,
  77. "value": "https://github.com/Scalingo/multi-buildpack.git"
  78. }
  79. },
  80. "scripts": {
  81. "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
  82. },
  83. "addons": [
  84. "scalingo-postgresql",
  85. "scalingo-redis"
  86. ]
  87. }