Updating Yeti
Updating Yeti
⚠️
Make sure to look at the release notes for any
breaking changes, and adjust steps accordingly!
- Backup your database
sudo docker compose run --rm -v $(pwd)/backup:/backup arangodb arangodump --server.endpoint tcp://a
rangodb:8529 --server.database yeti --output-directory /backup --overwrite true
- Backup your configuration file
sudo docker cp api:/app/yeti.conf /path/to/backup
- Stop the containers
cd yeti-docker/prod && sudo docker compose down
- Update
git pull
will pull in the latest changes to the Docker compose setup (effectively changing your infrastructure, so be mindful of any breaking changes).docker compose pull
will pull in the latest images for the Yeti services, this should be safer to update but we still recommend to read the release notes before updating.
git pull
sudo docker compose pull
- Start the containers
sudo docker compose up -d
- (optional) Restore database
sudo docker compose run --rm -v $(pwd)/backup:/backup arangodb arangorestore --server.endpoint tcp://arangodb:8529 --input-directory /backup --server.database yeti --overwrite true
- Restore configuration file
sudo docker ps yeti.conf api:/app/
sudo docker ps yeti.conf tasks:/app/
- Restart containers
sudo docker compose restarts tasks api