Updates
Standard Update
Section titled “Standard Update”cd /path/to/presswerk
# Pull latest imagesdocker compose pull
# Restart with new imagesdocker compose up -dDatabase migrations run automatically on startup via Flyway.
Pin a Specific Version
Section titled “Pin a Specific Version”Set APP_VERSION in your .env to a specific release tag:
APP_VERSION=1.2.3Then pull and restart:
docker compose pulldocker compose up -dRollback
Section titled “Rollback”If an update causes issues:
-
Stop services
Terminal window docker compose down -
Restore database from your backup
-
Pin previous version in
.env:Terminal window APP_VERSION=1.1.0 -
Start
Terminal window docker compose pulldocker compose up -d
Air-Gapped Updates
Section titled “Air-Gapped Updates”For environments without internet access, create a new bundle on an internet-connected machine:
APP_VERSION=1.2.3 curl -fsSL https://presswerk.app/install.sh | bash -s -- --bundleTransfer the bundle and load the new images:
tar xzf presswerk-bundle-1.2.3.tar.gzcd presswerk-bundle-1.2.3docker load < <(gzip -dc images.tar.gz)Update APP_VERSION in your .env and restart:
docker compose up -d