ABOUT
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.
infoInstallation compiles Ruby 4.0.5 and ffmpeg from source — this takes 15–30 minutes.
infoAdmin credentials (email + password) are saved to ~/mastodon.creds.
warningThis 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.
infoSMTP is not configured by default. Set SMTP_SERVER, SMTP_LOGIN, and SMTP_PASSWORD in .env.production for email notifications.
infoNew account registrations require Owner approval by default.
infoMedia uploads are stored in /opt/mastodon/public/system. Increase disk size if you expect heavy media usage.
INSTALL
Approved local installer
DefaultDebian 13
Approved locally4 CPU4096 MB RAM20 GB disk
Config path/opt/mastodon/.env.production
Run this command in the Proxmox VE shell. It downloads the immutable approved file, verifies SHA-256, and only then executes it.
( url='https://scripts.francoisvw.com/snapshots/c19711ea1b2526bec67e34be948114e255b5a811/ct/mastodon.sh'; sha='d1f824050dee3239efcf7f58f8e35f67a62b1869b1f438207207e82ff5200cfe'; tmp="$(mktemp)" || exit; curl -fsSL "$url" -o "$tmp" && printf '%s %s\n' "$sha" "$tmp" | sha256sum -c - && bash "$tmp"; rc=$?; rm -f "$tmp"; exit "$rc" )
View approved source ↗Path ct/mastodon.shSHA-256 d1f824050dee3239efcf7f58f8e35f67a62b1869b1f438207207e82ff5200cfe LOCAL CHANGE REVIEW
Approved vs latest fetched source
Sign in with a passkey to inspect pending source changes. Approved content remains public.