Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
Updating & Applying database migrations
menu mobile close menu
Analyzing projects
Additional information
toggle menu Contents

Updating & Applying database migrations

Aug 26 2026

Description

Atlas Server comes with a ready-to-use migrator service for Docker Compose.

The docker-compose.yml configuration file includes a migrator service designed to update the database.

The service has two commands: check and migrate. Apply them according to the update procedure.

Update procedure

  • Specify the PVS-Studio Atlas Server version as a tag for the Docker images.
  • Download the update using the docker compose --profile manual pull command.
  • Check for new database migrations using the docker compose run --rm migrator check command. This is important for choosing the next step.
  • If there are no migrations, start the updated services using the docker compose up -d command.
  • If there are migrations, stop the services connected to the database using the docker compose stop dashboard command.
  • Run the migration using the docker compose run --rm migrator migrate command. Confirm all migration steps.
  • Start the updated services using the docker compose up -d command.