Update Portrait

Portrait contains multiple components:

Compatibility is only guaranteed between components of the same versions.

All released versions can be found here:Release Notes

Upgrade Version

Usually, a version upgrade to a new major version also includes updating the configuration. Therefore, please consult the provided upgrade guidelines: Upgrade On Prem Instances

Downgrade Version

If not instructed by our team, downgrading to an older version is not supported.

Working with a specific version

If not instructed by our team, working with older versions is not supported.

Open docker-compose.yml file and change the version of the services to a specific release. All available versions can be found in our Docker Hub repository.

Example: Change to the version with tag “4.0.1”:

services: backend: image: treskon/portrait:4.0.1

Afterward, execute the following commands inside the folder where the docker-compose.yml file is:

docker-compose stop docker-compose pull docker-compose up -d

The services will now be updated and running.

We recommend running the following command at least after an upgrade to clean up and delete unused containers, images, networks, and build caches:

docker system prune -a

Otherwise, your hard drive space will be consumed very fast.

For log file rotation in docker (compose) itself see

https://stackoverflow.com/questions/41091634/how-to-clean-docker-container-logs