What is Mastodon and How I run it

What is Mastodon


Mastodon is a free and open-source decentralized social network that offers an alternative to mainstream platforms like Twitter. It is part of Fediverse. The individual Mastodon instances are not isolated. They can communicate with each other using a standard protocol called ActivityPub. This interconnected network of servers, including Mastodon instances and other compatible platforms (like Pixelfed for photos or PeerTube for videos), is collectively known as the “Fediverse” (a portmanteau of “federation” and “universe”).

My motivation to Run Mastodon server


  • Its better twitter alternative for me.
  • I don’t like X’s latest policy decisions as a consumer.
  • X feels more authoritative, where people join to get updates from celebrity users. Normal users are second-class citizens, made to consume the tweets from celebrities.
  • Mastodon provides a publicly visible timeline without the user needing to create an account on any server.
  • If you own a Mastodon instance, you can show your favorite tags on the front page.

Result


Prerequisite in My Setup


  • Docker with Portainer
  • Cloudflare Tunnels
  • MobaXterm

How to Run


After briefed research I found most successful docker-compose file from internet was on blog by – Ben Tasker

Link to blog – https://www.bentasker.co.uk/posts/blog/general/running-mastodon-in-docker-compose.html

My Docker compose

References