Comment on Discord is nuking Nintendo Switch emulator devs and their entire servers
Zworf@beehaw.org 7 months agoActually the ansible playbook creates a bundle of docker containers so you get the best of both :)
Comment on Discord is nuking Nintendo Switch emulator devs and their entire servers
Zworf@beehaw.org 7 months agoActually the ansible playbook creates a bundle of docker containers so you get the best of both :)
dan@upvote.au 7 months ago
Ahh… Interesting!
Do you know how much RAM it needs? I have a spare VPS with 9GB RAM - is that sufficient? I could run it in a VM on my home server instead, too.
Zworf@beehaw.org 7 months ago
Yeah for sure. I run the server + a bunch of bridges (whatsapp, signal, telegram) on an old atom NUC with 8GB RAM and it only actually uses 2 GB.
Here’s the documentation for the playbook: github.com/…/matrix-docker-ansible-deploy
I can really recommend it.
dan@upvote.au 7 months ago
Just tried out that playbook to set up a staging server, and it works pretty well.
I feel like it’s a bit too magical though. I like knowing how all the software I’m using is installed and configured, and introducing another layer of abstraction makes that harder. I have particular ways things like my web server (Nginx), database servers, Let’s Encrypt (certbot), etc are configured and want to keep things that way. I think I’ll just use the Ansible playbook for the staging server, and set up the real server using the Docker containers directly, based on documentation from the upstream projects (Synapse, etc)
Zworf@beehaw.org 7 months ago
That’s true. They actually stopped supporting Nginx recently which really bothered me too because I want to keep using self-signed certs (my server is only reachable internally and I do not want to expose it to the internet). And the new server they use (I forgot which) didn’t really have that option.
And yes it is totally feasible to use upstream! Not a problem at all.
I would recommend to use the dockers though, as the whole debian thing becomes a bit of a mess with different python requirements for some of the bridges. I tried that in a long forgotten past and there is a reason I’m trying to forget that 🤭
Like you I know the ansible playbook has its limits (for example one other thing I run into is that I want to run several instances of the same bridge to bridge eg. 2 whatsapp accounts!) but I do think docker is the way to go. I’m interested to hear how you’re faring though as it’s a long time ago since I tried that.