-
Notifications
You must be signed in to change notification settings - Fork 268
Description
This comes from a recent Slack thread on upgrading MeiliSearch. I think this would be great to add to the docs, plus Fred said that someone should add the issue. I didn't find one, so thought I'd create one. Feel free to delete if it's a duplicate.
BB
To prevent unplanned downtime, I wouldn’t use the docker tag latest but a specific version, so you decide when you upgrade.If you’re using docker-compose, one way would be to add a new service, in parallel with the same settings and once it is up and indexed (and you verified it’s working), you switch your nginx reverse-proxy rule to go to the new one later delete the old one from your docker-compose config.
This would temporarily duplicate disk space usage and RAM usage, of course.
If you want a more generalized perspective on that, check out blue-green deployment