Skip to content

Updates

Terminal window
cd /path/to/presswerk
# Pull latest images
docker compose pull
# Restart with new images
docker compose up -d

Database migrations run automatically on startup via Flyway.

Set APP_VERSION in your .env to a specific release tag:

Terminal window
APP_VERSION=1.2.3

Then pull and restart:

Terminal window
docker compose pull
docker compose up -d

If an update causes issues:

  1. Stop services

    Terminal window
    docker compose down
  2. Restore database from your backup

  3. Pin previous version in .env:

    Terminal window
    APP_VERSION=1.1.0
  4. Start

    Terminal window
    docker compose pull
    docker compose up -d

For environments without internet access, create a new bundle on an internet-connected machine:

Terminal window
APP_VERSION=1.2.3 curl -fsSL https://presswerk.app/install.sh | bash -s -- --bundle

Transfer the bundle and load the new images:

Terminal window
tar xzf presswerk-bundle-1.2.3.tar.gz
cd presswerk-bundle-1.2.3
docker load < <(gzip -dc images.tar.gz)

Update APP_VERSION in your .env and restart:

Terminal window
docker compose up -d