Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDOCKER-87: create image for external SOLR, add example compose file #14

Closed
wants to merge 1 commit into from

Conversation

Mario-Hofstaetter
Copy link

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 base

  • Add demo compose file docker-compose-postgres-index.yml, it uses the already existing environment variable INDEX_HOST of the web container. Since it must have the xwiki version, 10.9 has been used for the demo.


WORKDIR /var/xwiki-solr-temp/

COPY ./solr-init.sh .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this doing and where is solr-init.sh coming from?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/

@vmassol
Copy link
Member

vmassol commented Nov 22, 2018

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

@Mario-Hofstaetter
Copy link
Author

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.

@vmassol
Copy link
Member

vmassol commented Aug 23, 2019

Superseded by #22

@vmassol vmassol closed this Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants