2017-01-17 22:00:03 +11:00
{
"name" : "Mastodon" ,
"description" : "A GNU Social-compatible microblogging server" ,
2021-07-13 23:46:20 +10:00
"repository" : "https://github.com/mastodon/mastodon" ,
"logo" : "https://github.com/mastodon.png" ,
2017-01-17 22:00:03 +11:00
"env" : {
"HEROKU" : {
"description" : "Leave this as true" ,
"value" : "true" ,
"required" : true
} ,
"LOCAL_DOMAIN" : {
"description" : "The domain that your Mastodon instance will run on (this can be appname.herokuapp.com or a custom domain)" ,
"required" : true
} ,
"SECRET_KEY_BASE" : {
"description" : "The secret key base" ,
"generator" : "secret"
} ,
2017-04-08 20:31:33 +10:00
"OTP_SECRET" : {
"description" : "One-time password secret" ,
"generator" : "secret"
} ,
2017-01-17 22:00:03 +11: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 Heroku does not have persistent file storage (files will be lost)." ,
"value" : "true" ,
"required" : false
} ,
"S3_BUCKET" : {
"description" : "Amazon S3 Bucket" ,
"required" : false
} ,
"S3_REGION" : {
"description" : "Amazon S3 region that the bucket is located in" ,
"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" : " D o m a i n f o r S M T P s e r v e r . W i l l d e f a u l t t o i n s t a n c e d o m a i n i f b l a n k . " ,
"required" : false
2017-02-17 15:15:31 +11:00
} ,
"SMTP_FROM_ADDRESS" : {
"description" : "Address to send emails from" ,
"required" : false
2017-04-11 05:48:30 +10: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-11 07:06:21 +11:00
"SMTP_ENABLE_STARTTLS" : {
"description" : "Enable STARTTLS? Default is 'auto'." ,
"value" : "auto" ,
"required" : false
} ,
2017-04-11 05:48:30 +10:00
"SMTP_ENABLE_STARTTLS_AUTO" : {
2022-11-11 07:06:21 +11:00
"description" : "Enable STARTTLS if SMTP server supports it? Deprecated by SMTP_ENABLE_STARTTLS." ,
2017-04-11 05:48:30 +10:00
"required" : false
2017-01-17 22:00:03 +11:00
}
} ,
"buildpacks" : [
2017-05-12 22:33:54 +10:00
{
"url" : "https://github.com/heroku/heroku-buildpack-apt"
} ,
2017-01-17 22:00:03 +11:00
{
"url" : "heroku/ruby"
}
] ,
"scripts" : {
"postdeploy" : "bundle exec rails db:migrate && bundle exec rails db:seed"
} ,
2022-03-21 14:46:11 +11:00
"addons" : [ "heroku-postgresql" , "heroku-redis" ]
2017-02-17 15:15:31 +11:00
}