Mastodon
Mastodon
by Mastodon

VERSION 2.9.3

OS Ubuntu 18.04

Create Mastodon Droplet

Description

Mastodon allows you to host your own social media platform on your own infrastructure. Using a suite of standard protocols, Mastodon servers can exchange information with each other, allowing users to interact seamlessly.

Software Included

PackageVersionLicense
Mastodon2.9.3AGPLv3
Nginx1.14.0Custom
Postgres10Postgres SQL
Certbot0.31.0Apache 2
Redis4.0.9BSD-3-Clause

Getting started after deploying Mastodon

On your first SSH login to the droplet, you will be greeted by a setup wizard that will create a working Mastodon server. Going in, you need to be prepared to enter the following information:

  • Domain name (the DNS records should already point to the droplet)
  • SMTP credentials for sending e-mails (this can be SparkPost, Sendgrid, Mailgun, etc)
  • Optional: Amazon S3 credentials for storing user-uploaded files (this can also be Wasabi or Minio)

API Creation

In addition to creating a Droplet from the Mastodon 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB Mastodon Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.


  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"mastodon-18-04"}' \
      "https://api.digitalocean.com/v2/droplets"
      

Support Details

Supported By:Mastodon
Support URL:https://discourse.joinmastodon.org
Support Email:hello@joinmastodon.org

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn