Updating Yeti
Updating Yeti
If you update yeti, follow these instructions:
- 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
sudo docker compose pull
- Start the containers
sudo docker compose up -d
- 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 contenairs
sudo docker compose restarts tasks api