Skip to content

Updating & Migrating

DredBaron edited this page Mar 28, 2026 · 4 revisions

Updating

To update OpenMTG to the latest version:

docker compose pull
docker compose up

Docker compose pull fetches the latest ghcr.io/dredbaron/openmtg:latest image. The up -d restarts only containers whose image has changed. Database migrations run automatically when the app container starts. The app will not start until the database container passes its health check, so there is no risk of migrations running against an unavailable database.

You do not need to run any migration commands manually.

Backing Up

Two paths need to be backed up regularly. Both are defined in the .env:

  • Database DATA_PATH
  • App config CONFIG_PATH

Database Backup

Clone this wiki locally