Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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)