Playmat: a self-hosted Magic: The Gathering server you can play from the browser (Docker Compose, ARM + x86)
retained text
https://preview.redd.it/gcfggqi90gyh1.png?width=2400&format=png&auto=webp&s=a67d4c34f20af5abd1554a7f22ad9e1782946528
I've been working on Playmat, a fork of XMage (the open-source MTG rules engine) with a browser client, and the main way to run it is self-hosted. It's built for a playgroup that wants its own server.
**The stack:** four containers from one compose file: the game server, Caddy with automatic HTTPS, a cache for card pictures from Scryfall, and a nightly backup. Images are published for x86 and ARM, so a Pi-class box or a free ARM VPS works. About 1 GB of RAM is enough for a group's evening; there's a small-VPS preset that lowers the limits.
**Setup:**
git clone https://github.com/arcanite24/playmat.git && cd playmat
cp ops/web/.env.example ops/web/.env # set DOMAIN and the owner account
docker compose -f ops/web/docker-compose.yml --env-file ops/web/.env up -d
No domain? There's a LAN mode for a group on one home network. There are also desktop installers if you just want to host for friends on the same Wi-Fi.
**Admin side:** a web admin console with moderator/admin/owner roles: who's online, reports, the audit log, registration rules, scheduled maintenance with in-game warnings, and an optional one-button update and rollback. It can send Discord notifications and password-reset mail.
**What you get as a player:** play vs AI or friends with invite links, drafts and sealed with AI filling empty seats, deck import from Moxfield/Archidekt, spectating and replays. Desktop browsers, tablets, and an Android app.
Docs: [https://arcanite24.github.io/playmat/docs/server.html](https://arcanite24.github.io/playmat/docs/server.html)
Repo (MIT): [https://github.com/arcanite24/playmat](https://github.com/arcanite24/playmat)
It's a free fan project, not affiliated with Wizards. Feedback on the deployment side especially welcome: what would you want before running it for your group?
https://preview.redd.it/hsbkll9h0gyh1.png?width=1920&format=png&auto=webp&s=5e3d4e6423fb37b2d2cfa368e3db506d34646fe5
document fetched 2026-10-30 00:30 · canonical https://reddit.com/r/selfhosted/comments/1xiqq8c/playmat_a_selfhosted_magic_the_gathering_server