Upgrade Process
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).
# 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.
labels:
- "com.centurylinklabs.watchtower.enable=true"
You have 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:
docker compose up -d watchtower
Verify that Watchtower is running:
You can check the logs using:
Manual Updates
For manual updates, follow these steps:
1. Make sure that you are logged in as apliqocustomer
in docker
2. Pull latest changes for apliqo-api
image
3. Pull latest changes for apliqo-spa
image
4. Restart the apliqo-api & apliqo-spa
with pulled changes
For older version of Docker:
Versioning
We are using image tags for versioning model. The version alias is the same for apliqo-api
and apliqo-spa
To control the version of your application, update the image tags in the docker-compose.yml
file.
Make sure to restart the containers after making changes in docker-compose.yml
to apply them.
Available Versions
Latest - the latest published version
Beta - beta version
alpha - alpha version