Peachgram Docs
StartMaster serverGame serverClientOperations

Docker Compose

The container layout of the master server

The master server runs as two containers managed by Docker Compose from /opt/openfesl.

Containers

ContainerRole
openfesl-server-1The Python application serving the API and the website
openfesl-database-1PostgreSQL with the persistent volume

Start, stop, and update

bash
cd /opt/openfesl
docker compose up -d
docker compose logs --tail 50 server
docker compose pull && docker compose up -d

Updating the code

The directory is a git repository. Pull the new revision, rebuild the image, and recreate only the application container so the database keeps running.

Take a database backup before every update that changes the schema.

On this page