Post

Mastodon

Mastodon is a decentralized, open-source social network (ActivityPub/Fediverse). Self-host your own instance to publish short posts, follow people across the Fediverse, and federate with thousands of other servers.

Mastodon
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.

Installation

Default install:

1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/mastodon.sh)"
CPU: 4 cores RAM: 4096 MB Disk: 20 GB OS: Debian 13

Default Credentials

UsernamePassword
adminauto-generated

Configuration

Config file:

1
/opt/mastodon/.env.production

Notes

Installation compiles Ruby 4.0.5 and ffmpeg from source — this takes 15–30 minutes.
Admin credentials (email + password) are saved to ~/mastodon.creds.
LOCAL_DOMAIN in /opt/mastodon/.env.production is set to the container IP. For federation to work, change it to your actual domain and add TLS via a reverse proxy.
SMTP is not configured by default. Set SMTP_SERVER, SMTP_LOGIN, and SMTP_PASSWORD in .env.production for email notifications.
Media uploads are stored in /opt/mastodon/public/system. Increase disk size if you expect heavy media usage.

Web Interface

Port: 80

Source code
Loading...