Peachgram Docs
StartMaster serverGame serverClientOperations

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

AreaWhat it doesWhere to read more
AccountsRegistration, login, and the launcher session endpointAccounts and heroes
HeroesClasses, equipment, statistics, and walletAccounts and heroes
MatchmakingKeeps the list of game servers and sends players to themGame server overview
StoreServes the catalogue and records purchasesCommand line
WebsiteHero creation and the landing pageCaddy 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.

On this page