r/openttd • u/Delta974 • 13h ago
Other Made a web panel to easily host multiple OpenTTD servers in Docker without fighting openttd.cfg
Got tired of SSHing into my server, hand-editing openttd.cfg (and forgetting -x so OpenTTD overwrites it), and manually uploading .sav created from my game (because somehow that was the most practical way to do it?) every time friends wanted to start a new game.
So I put together a web panel for it: https://github.com/Siupahc/openttd-server-manager (AGPLv3)
It runs in a single Docker container (amd64 / arm64, works on a Pi) with one /data volume. The goal was to just handle everything from the browser:
- Run multiple isolated servers at once (ports are auto-assigned, servers auto-save before stopping and resume on reboot)
- Generate maps like in singleplayer, edit settings in the UI (or raw INI if you prefer), and manage
.sav/.scnfiles - Browse and install NewGRFs + dependencies straight from BaNaNaS, and pin different OpenTTD versions per server
- Live console/chat, player/IP moderation, company charts, scheduled backups, and optional Discord/Slack webhooks
I was inspired by Crafty Controller, that I use for hosting minecraft servers.
Full disclosure: I used AI tools to help write the codebase and generate the placeholder logo. If an artist ever feels like making a proper logo for it, I'd gladly swap it in.
Would love some feedback, and hopefully this helps more people self-host their OpenTTD servers!
