Dockerized Mastodon instance - multiple instances behind master front proxy (and/or behind cascading proxies). Optimized for Joutsen Bulwark environment.
Usage:
-
Create a new instance
./control.sh prepare <domain.tld> <admin_username> <admin-email>
-
Remove everything
./control.sh wipe
-
Start instance
./control.sh start
-
Stop instance
./control.sh stop
-
Update to specific tag
./control.sh update <new mastodon version, ie. v4.3.0>
Update to 4.3.0 from 4.2.x:
Run
docker-compose run --rm control bin/rails db:encryption:init
and insert newly generated keys to your .env/app.env
first.