Skip to main content

Updating RAG-DocBot

There are two ways to update to a newer version.


Option A: Re-run the Installer

If you received a new version of install.sh from your vendor, re-run it:

chmod +x install.sh
./install.sh
docker compose up -d

You can also update the IMAGE_TAG variable in install.sh before running it to pin a specific version.


Option B: Pull and Restart

If the image tag in your docker-compose.yml already points to the version you want (or uses latest), pull the new images and restart:

docker compose pull
docker compose up -d

Docker Compose will only restart services whose image has changed.


Notes

  • Database migrations run automatically on startup — you do not need to apply them manually.
  • All application data is stored in Docker named volumes (postgres_data, redis_data, qdrant_storage) and survives image updates.
  • It is good practice to back up your volumes before a major version update.