Last active
July 4, 2020 10:28
-
-
Save rs-ds/6432690a272443fbfcf24188730f6840 to your computer and use it in GitHub Desktop.
Solr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
volumes: | |
solr_data: {} | |
services: | |
solr: | |
env_file: .env | |
build: solr | |
volumes: | |
- solr_data:/var/solr | |
ports: | |
- 8983 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM solr:6.6.6 | |
RUN precreate-core core1 | |
RUN rm -rf /opt/solr/server/solr/mycores/core1/conf/managed-scehma | |
RUN rm -rf /opt/solr/server/solr/configsets/basic_configs/conf/managed-schema | |
COPY managed-schema /opt/solr/server/solr/configsets/basic_configs/conf/ | |
COPY managed-schema /opt/solr/server/solr/mycores/core1/conf/ | |
COPY schema.xml /opt/solr/server/solr/mycores/core1/conf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Solr managed schema - automatically generated - DO NOT EDIT --> | |
<schema name="haystack-schema" version="1.6"> | |
<!-- Schema Defnition --> | |
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- Schema Defnition --> | |
</schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment