Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 765 Bytes

File metadata and controls

19 lines (14 loc) · 765 Bytes

Updater

This directory contains scripts to automatically update services when new Docker Images become available on DockerHub. A pull model via a cronjob is used.

NB in the past a 'push' model with a webhook from Dockerhub was used but it had complications. The 'pull' model here is more lean.

Note that Updater only runs on production servers.

Scripts

  • cron job cronjob - logs to ~/update.log
  • cron.sh - script called from cronjob
  • check.sh - checks for new version on DockerHub (compares digest values)
  • update.sh - the actual update script (can be run standalone/manually)
  • start.sh - starts update checker (cronjob)
  • stop.sh - stops update checker (cronjob)