Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Automated Updates
The docker-compose.yml
file includes a commented-out Watchtower container. Watchtower automates container updates by checking for new versions of your containers at regular intervals (default: every 3600 seconds / 1 hour).
Code Block | ||
---|---|---|
| ||
# watchtower: # image: containrrr/watchtower # environment: # REPO_USER: apliqocustomer # REPO_PASS: # WATCHTOWER_POLL_INTERVAL: 3600 # volumes: # - /var/run/docker.sock:/var/run/docker.sock |
It updates containers with the following label. Watchtower detects new container versions, pulls the updates, and restarts the containers with the latest changes.
Code Block | ||
---|---|---|
| ||
labels: - "com.centurylinklabs.watchtower.enable=true" |
Info |
---|
You are fully able to control this process by configuring this according your requirement usinghave full control over the automated update process and can configure it to meet your specific requirements by using the available options in Watchtower's documentation: https://containrrr.dev/watchtower/ https://containrrr.dev/watchtower/arguments/ |
...
Enable automated updates
Uncomment the
watchtower
container indocker-compose.yml
Set the
REPO_PASS
environment variable to your access token (docker token)Start the watchtower using:
...
Code Block |
---|
docker logs {container_id} |
...
Manual Updates
For manual updates, follow these steps:
...
Code Block |
---|
docker-compose up -d apliqo-spa |
...
Versioning
We are using image tags for versioning model. The version alias is the same for apliqo-api
and apliqo-spa
...
Note |
---|
Make sure to restart the containers after making changes in |
...
Available Versions
- the latest published versionStatus title Latest
- beta versionStatus title Beta
- alpha versionStatus title alpha