2017-04-05 07:45:03 -04:00
{
"name" : "Mastodon" ,
"description" : "A GNU Social-compatible microblogging server" ,
2021-07-13 09:46:20 -04:00
"repository" : "https://github.com/mastodon/mastodon" ,
"logo" : "https://github.com/mastodon.png" ,
2017-04-05 07:45:03 -04:00
"env" : {
"LOCAL_DOMAIN" : {
"description" : "The domain that your Mastodon instance will run on (this can be appname.scalingo.io or a custom domain)" ,
"required" : true
} ,
"SECRET_KEY_BASE" : {
"description" : "The secret key base" ,
"generator" : "secret"
} ,
2018-03-26 06:47:34 -04:00
"OTP_SECRET" : {
"description" : "One-time password secret" ,
"generator" : "secret"
} ,
2017-04-05 07:45:03 -04:00
"SINGLE_USER_MODE" : {
"description" : "Should the instance run in single user mode? (Disable registrations, redirect to front page)" ,
"value" : "false" ,
"required" : true
} ,
"S3_ENABLED" : {
"description" : "Should Mastodon use Amazon S3 for storage? This is highly recommended, as Scalingo does not have persistent file storage (files will be lost)." ,
"value" : "true" ,
"required" : false
} ,
"S3_BUCKET" : {
"description" : "Amazon S3 Bucket" ,
"required" : false
} ,
"S3_REGION" : {
2023-04-26 10:46:19 -04:00
"description" : "Amazon S3 region that the bucket is located in; see regions list here: http://docs.aws.amazon.com/general/latest/gr/rande.html" ,
2017-04-05 07:45:03 -04:00
"required" : false
} ,
"AWS_ACCESS_KEY_ID" : {
"description" : "Amazon S3 Access Key" ,
"required" : false
} ,
"AWS_SECRET_ACCESS_KEY" : {
"description" : "Amazon S3 Secret Key" ,
"required" : false
} ,
"SMTP_SERVER" : {
"description" : "Hostname for SMTP server, if you want to enable email" ,
"required" : false
} ,
"SMTP_PORT" : {
"description" : "Port for SMTP server" ,
"required" : false
} ,
"SMTP_LOGIN" : {
"description" : "Username for SMTP server" ,
"required" : false
} ,
"SMTP_PASSWORD" : {
"description" : "Password for SMTP server" ,
"required" : false
} ,
"SMTP_DOMAIN" : {
"description" : "Domain for SMTP server. Will default to instance domain if blank." ,
"required" : false
} ,
"SMTP_FROM_ADDRESS" : {
"description" : "Address to send emails from" ,
"required" : false
} ,
2017-04-10 15:48:30 -04:00
"SMTP_AUTH_METHOD" : {
"description" : "Authentication method to use with SMTP server. Default is 'plain'." ,
"required" : false
} ,
"SMTP_OPENSSL_VERIFY_MODE" : {
"description" : "SMTP server certificate verification mode. Defaults is 'peer'." ,
"required" : false
} ,
2022-11-10 15:06:21 -05:00
"SMTP_ENABLE_STARTTLS" : {
"description" : "Enable STARTTLS? Default is 'auto'." ,
"value" : "auto" ,
"required" : false
} ,
2017-04-10 15:48:30 -04:00
"SMTP_ENABLE_STARTTLS_AUTO" : {
2022-11-10 15:06:21 -05:00
"description" : "Enable STARTTLS if SMTP server supports it? Deprecated by SMTP_ENABLE_STARTTLS." ,
2017-04-10 15:48:30 -04:00
"required" : false
} ,
2017-04-05 07:45:03 -04:00
"BUILDPACK_URL" : {
"description" : "Internal scalingo configuration" ,
"required" : true ,
"value" : "https://github.com/Scalingo/multi-buildpack.git"
2018-08-28 19:21:23 -04:00
} ,
"WITH_FFPROBE" : {
"description" : "Internal scalingo configuration to install ffprobe" ,
"required" : true ,
"value" : "true"
2017-04-05 07:45:03 -04:00
}
} ,
"scripts" : {
"postdeploy" : "bundle exec rails db:migrate && bundle exec rails db:seed"
} ,
2022-03-20 23:46:11 -04:00
"addons" : [ "postgresql" , "redis" ]
2017-04-05 07:45:03 -04:00
}