3 ms·
Mastodon is really easy to run via Docker containers. I use the official container with three instances (web, streaming, sidekiq), a postgres container, an elas
by djsumdog 8y ago
Mastodon is really easy to run via Docker containers. I use the official container with three instances (web, streaming, sidekiq), a postgres container, an elastic search container and a redis container. I wrote these scripts to help bring it up, but you could do the same thing with Terraform + docker-compose:
http://github.com/sumdog/bee2 http://github.com/sumdog/bee2
It's super easy to run compared to Plreoma (which took me forever to Dockerize, the dockerfiles are in the same project). Years ago this was the problem with Diaspora too, but Docker has made this problem a lot easier.
I even have a container that backs up my volumes and database to Backblaze. If you want easy, cheap hosting, there's Masto.host.
Edit: I run on a $10 Vultr instance with some additional block storage and currently support <10 users without issue.
- badsectoracula 8y agoI already have a VPS, i do not really want to use another one just for a single program (imagine if everything i wanted to run needed its own VPS). Also i do not really want to run docker in there... aren't dockers VMs themselves? Isn't this running a VM in a VM? Doesn't that kill any sort of performance? TBH as i wrote above what i'd prefer is some self-contained binary i drop somewhere in my VPS and have it work automatically. See Fossil SCM and Gogs as a couple of examples for what i'm looking for.
- djsumdog 8y agoDocker is NOT a VM. Anything in a Docker container runs with the exact same performance as a service installed on your system. Docker does introduce problems, but performance is not one of them. I've done a pretty detailed post on how Docker works over here: https://penguindreams.org/blog/my-love-hate-relationship-with-docker-and-container-orchestration-systems/ https://penguindreams.org/blog/my-love-hate-relationship-wit...