This is a setup for Running Mastodon with Docker with all features including email, full-text search, and file support
All behind a Traefik reverse proxy, in a seperate compose file in-case of wanting more than just Mastodon behind it
- Make sure to set
vm.max_map_count
to at least262144
for ElasticSearch to work
# sysctl -w vm.max_map_count=262144
# echo "vm.max_map_count = 262144" > /etc/sysctl.d/96-max-map-count.conf
- Make sure you can execute
docker
without root - Make sure
whiptail
,htpasswd
,docker
anddocker compose
are available from the command line - Run the
setup.sh
script
$ bash setup.sh