Skip to content
Snippets Groups Projects
Select Git revision
  • 5f733ad83aebbf52361c97059ac95b13d9a7f897
  • main default protected
  • mathstodon-4.3.6
  • mathstodon-4.3.x
  • mathstodon-4.2.15
  • mathstodon-4.2.10
  • mathstodon-4.2.7
  • mathstodon-4.2.6
  • v4.2.5
  • v4.2.2
  • mathstodon-4.2.5
  • mathstodon-4.2
  • mathstodon-4.1
  • mastodon-4.1.3
  • v4.1.3
  • v4.1.0-diff
  • mathstodon-4.1.0
  • mastodon-v4.1.0
  • v4.0.2
  • mathstodon-4.0.2
  • mathstodon-3.5.3
  • v4.0.0rc3
  • v4.0.0rc2
  • v4.0.0rc1
  • v3.5.3
  • v3.4.8
  • v3.5.2
  • v3.5.1
  • v3.4.7
  • v3.3.3
  • v3.5.0
  • v3.5.0rc3
  • v3.5.0rc2
  • v3.5.0rc1
  • v3.4.6
  • v3.3.2
  • v3.3.1
  • v3.4.5
  • v3.4.4
  • v3.4.3
  • v3.4.2
41 results

.profile

Blame
  • app.json 2.92 KiB
    {
      "name": "Mastodon",
      "description": "A GNU Social-compatible microblogging server",
      "repository": "https://github.com/mastodon/mastodon",
      "logo": "https://github.com/mastodon.png",
      "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"
        },
        "OTP_SECRET": {
          "description": "One-time password secret",
          "generator": "secret"
        },
        "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": "Domain for SMTP server. Will default to instance domain if blank.",
          "required": false
        },
        "SMTP_FROM_ADDRESS": {
          "description": "Address to send emails from",
          "required": false
        },
        "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
        },
        "SMTP_ENABLE_STARTTLS_AUTO": {
          "description": "Enable STARTTLS if SMTP server supports it? Default is true.",
          "required": false
        }
      },
      "buildpacks": [
        {
          "url": "https://github.com/heroku/heroku-buildpack-apt"
        },
        {
          "url": "heroku/ruby"
        }
      ],
      "scripts": {
        "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
      },
      "addons": [
        "heroku-postgresql",
        "heroku-redis"
      ]
    }