Closed khaledk2 closed 1 year ago
It is a good idea!
I have modified it so there is a separate playbook to run and configure each of elasticsearch (idr-elasticsearch.yml
) and searchengine (idr-searchengine.yml
).
Thanks @khaledk2, the latest state of the changes look good from a code review perspective. I'll integrate them in the next full deployment.
I have updated the searchengine version to 0.5.1. I think it may be a good idea to update the searchengine manually in prod114 as we do not have time if something goes wrong.
We need first to stop the container
sudo docker stop searchengine
then we need to run the new version using this command:
sudo docker run -d --name searchengine --rm -v /data/searchengine/searchengine/:/etc/searchengine/ --network=searchengine-net -p 5577:5577 openmicroscopy/omero-searchengine:0.5.1 run_app searchengine
I can update it if you do not mind, I have tested it before and it should work fine.
@khaledk2 go for it and agreed on being cautious for the upcoming release. I'll test this PR with prod115
searchengine
version 0.5.1
has been deployed in prod114
.
This PR is used to run the searchengine container using a separate playbook and can be used to update the searchengine when it is needed. This comes from this discussion https://github.com/IDR/deployment/pull/391#issuecomment-1410024671.