XDOCKER-87: create image for external SOLR, add example compose file#14
XDOCKER-87: create image for external SOLR, add example compose file#14Mario-Hofstaetter wants to merge 1 commit intoxwiki:masterfrom
Conversation
|
|
||
| WORKDIR /var/xwiki-solr-temp/ | ||
|
|
||
| COPY ./solr-init.sh . |
There was a problem hiding this comment.
What is this doing and where is solr-init.sh coming from?
There was a problem hiding this comment.
solr-init.sh was already there and has not been changed.
See: https://github.com/xwiki-contrib/docker-xwiki/blob/master/contrib/solr/solr-init.sh
Look into the file, it has comments. It looks for the *.jar and unzips it to /opt/solr/server/solr/
|
Thanks @Mario-Hofstaetter. What about locating the new dockerfile for SOLR in https://github.com/xwiki-contrib/docker-xwiki/tree/master/template instead? And to release it in the official xwiki images? For that I guess we would need to talk to the official repo guys to add something similar to what we do for the xwiki image at https://github.com/docker-library/official-images/blob/master/library/xwiki |
Do as you wish, maybe I need to take a look how this templating works. |
|
Superseded by #22 |
https://jira.xwiki.org/browse/XDOCKER-87
Add dockerfile for /contrib/solr/ . This custom image downloads the correct
xwiki-platform-search-solr-server-data.jar, the image uses the latest Apache SOLR image as baseAdd demo compose file
docker-compose-postgres-index.yml, it uses the already existing environment variableINDEX_HOSTof thewebcontainer. Since it must have the xwiki version,10.9has been used for the demo.