Master server overview
Understand what the OpenFESL master server does and what it needs to run
The master server is the brain of Peachgram. It stores accounts and heroes, runs the store, lists matches, and serves the website. It is built on OpenFESL, an open-source reimplementation of the original online services.
Everything else depends on it: clients cannot sign in without it, and game servers register with it to appear in the match list.
The reference deployment runs on a single VPS with Docker. See Docker Compose for the exact layout.
Responsibilities
| Area | What it does | Where to read more |
|---|---|---|
| Accounts | Registration, login, and the launcher session endpoint | Accounts and heroes |
| Heroes | Classes, equipment, statistics, and wallet | Accounts and heroes |
| Matchmaking | Keeps the list of game servers and sends players to them | Game server overview |
| Store | Serves the catalogue and records purchases | Command line |
| Website | Hero creation and the landing page | Caddy and HTTPS |
What you need to run it
- Docker with the Compose plugin.
- PostgreSQL, provided by the second container of the stack.
- A domain with a valid certificate, handled automatically by Caddy.
- Nightly backups of the database. See Backups and restore.
Day-to-day tasks
- Check health with
docker logs --since 10m openfesl-server-1. - Restart the application with
docker restart openfesl-server-1. - Inspect or fix data through the command line and SQL.
The master server is shared by all players. Announce restarts and avoid doing them while matches are filling up.
Next steps
Set up the stack first, then secure it behind Caddy, and finally schedule backups before inviting players.