Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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"

...