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
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/mastodon.sh)"
Default Credentials
| Username | Password |
|---|---|
admin | auto-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.
This installation uses the container IP and HTTP, so it is suitable only for LAN or testing. LOCAL_DOMAIN must not be changed after initial setup; reinstall with a public domain and TLS before enabling federation.
SMTP is not configured by default. Set SMTP_SERVER, SMTP_LOGIN, and SMTP_PASSWORD in .env.production for email notifications.
New account registrations require Owner approval by default.
Media uploads are stored in /opt/mastodon/public/system. Increase disk size if you expect heavy media usage.