chenejac / VIVOTestMigration

0 stars 0 forks source link

VIVO-1679: Connect VIVO with containerized Solr #1566

Closed chenejac closed 3 years ago

chenejac commented 5 years ago

Andrew Woods (Migrated from VIVO-1679) said:

This task is to deploy VIVO with an externalized Solr, which itself has been deployed via its own Docker container.

chenejac commented 5 years ago

Andrew Woods said:

Documentation: https://hub.docker.com/_/solr

Deploy Solr Docker container: $ docker run -d -p 8983:8983 -v /tmp/awoods/vivocore:/vivocore solr solr-create -c vivocore -d /vivocore

Notes:

Solr configuration found in /tmp/awoods/vivocore:

VIVO: Using branches:

Configure runtime.properties with:

chenejac commented 5 years ago

Andrew Woods said:

This recipe has been built into: https://github.com/vivo-community/vivo-docker2

chenejac commented 5 years ago

Ralph O'Flinn said:

Additional documentation is incoming

chenejac commented 5 years ago

Huda Khan said:

Tried the recipe above.  I am on a Windows machine and using Docker Desktop.  I had to ensure that MySQL service wasn't running in the background.  The first time, the Solr smoke test provides a warning but that appears to be related to it taking a little longer to start sometimes.  Doing docker-compose down followed by docker-compose up handled that. Solr was accessible and populated with the data being added to the interface.