docker is part of it but not everything in and of itself. You probably need a docker compose where database, frontends, backends are separate images but possibly something more than that, kubernetes pods, and storage being separate. Probably cloud based or has cloud based backend options. I think a script could make the process easy and scale appropriately.
It’s called docker. Linuxserver.io offers very close to “mastodon in a box”. https://hub.docker.com/r/linuxserver/mastodon
docker is part of it but not everything in and of itself. You probably need a docker compose where database, frontends, backends are separate images but possibly something more than that, kubernetes pods, and storage being separate. Probably cloud based or has cloud based backend options. I think a script could make the process easy and scale appropriately.