skyfleetdocs

Upgrade and back up

Pull the new image to upgrade, and copy the data volume to back up.

Upgrade

docker pull ghcr.io/abuaboud/box
docker rm -f skyfleet
docker run -d --name skyfleet --restart unless-stopped \
  -p 8787:8787 -v skyfleet-data:/data ghcr.io/abuaboud/box

The database updates itself on start. To stay on one version, use a commit tag instead of latest, like ghcr.io/abuaboud/box:<commit>.

Back up

Everything is in the skyfleet-data volume: the database, the stored secrets and their key. Stop the container for a consistent copy:

docker stop skyfleet
docker run --rm -v skyfleet-data:/data -v "$PWD":/backup alpine tar czf /backup/skyfleet-data.tgz -C /data .
docker start skyfleet

Restore by unpacking the archive into an empty volume before starting Skyfleet.

On this page