Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel3
outlinefalse
styledefault
typelist
printabletrue

...

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
languageyaml
  # 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
languageyaml
    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 thewatchtowercontainer 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 docker-compose.yml to apply them.

...

Available Versions

  1. Status
    titleLatest
    - the latest published version

  2. Status
    titleBeta
    - beta version

  3. Status
    titlealpha
    - alpha version