Skip to content

Updating ​

This procedure depends on the method you choose when installing checkship initially.

WARNING

When switching from a major version to another one (ex. v1.x.x to v2.x.x), check the Migration page for additional instructions.

WARNING

You should always make a backup before updating checkship to make sure you don't lose anything if something goes wrong.

With Compose ​

Go where the initial compose.yml file has been created and run:

sh
docker compose pull && docker compose up -d

INFO

If you use a specific image version, you must update the tag in the compose file before running the above command.

With Docker ​

Since the configuration has been saved in the volume checkshipdata the first time you launched checkship, you can omit the settings here unless they have changed, in this case, you should probably check the configuration file in checkshipdata/conf.yml.

sh
docker pull ghcr.io/checkship-deploy/checkship && docker rm $(docker stop $(docker ps -a -q --filter="ancestor=ghcr.io/checkship-deploy/checkship")) && docker run -d -v "/var/run/docker.sock:/var/run/docker.sock" -v "checkshipdata:/checkship/data" -v "checkshipssh:/root/.ssh" -p "8080:8080" ghcr.io/checkship-deploy/checkship

From sources ​

Simply build the application again with the latest sources, run it and you're good to go.