Updater for the official checkmk docker image run with docker-compose.
- Define the Variables in the beginning of the script
nano compose-checkmk-updater.sh
#!/bin/bash
container_name=checkmk
file_dir=/root/docker/checkmk
backup_dir=/home/user/checkmk_backup
...
- Make the script executable
chmod +x compose-checkmk-updater.sh
- Move the script in the same folder as your docker-compose.yml
mv compose-checkmk-updater.sh /some/dir
- Run the script
./compose-checkmk-updater.sh
- When asked, define the checkmk version which you want to upgrade to
Example when running the script:
New Version? (Current: 1.5.0p15): 1.5.0p16
This will update your checkmk project from version 1.5.0p15 to 1.5.0p16.