For administrators
← All topics

Updating draften

How to deploy a new version, what happens to work in progress and how to tell all is well.

A new version of draften is deployed on your own server with two commands from the installation's directory:

git pull
docker compose up -d --build

At start the worker runs the database migrations by itself. Schema changes are written so that they can run more than once and the database still serves the previous version of the interface — a short overlap of the old and new container does no harm. Migrations run under a database lock, so several containers may start at once.

Before updating

After updating

What does not change by itself

Plain text version