To update the Simplifier via Docker Compose, we assume that you used the Installation Guide and Compose File provided by Simplifier Community.
Step 1 – Switch to Project File
First of all , switch to the folder that contains the git repository for e.g.
Step 2 – Prepare Docker-Compose File
In the Docker-Compose File the Simplifier Version will be set by Environment Variable – to update the Version Number to a new Major Version, you have to edit the .env File
Replace the SIMPLIFIER_VERSION Variable for e.g. with 7.0
SIMPLIFIER_HOSTNAME=example.simplifier.cloud DB_PASSWORD=MySecret123 DB_NAME=simplifier DB_ROOT_PASSWORD=MySuperSecret SIMPLIFIER_VERSION=7.0
Step 3 – Update Simplifier Image
To update the simplifier image, use docker-compose pull command below
docker compose -f simplifier-standalone.yml pull
Step 4 – Recreation of Docker Service
After pulling the latest simplifier image, please recreate the docker service. The image will be replaced and the container will be restarted.
docker compose -f simplifier-standalone.yml up -d && docker compose -f simplifier-standalone.yml logs -f
You will also see the logs immediately. Please hit Strg+C to Exit the Log Mode.
Leave A Comment
You must be logged in to post a comment.