-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Sh1nku/v0.3.2
v0.3.2: Fix error when using Solr 8.0-8.5
- Loading branch information
Showing
16 changed files
with
128 additions
and
7 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM solr:8.0.0 | ||
|
||
COPY security.json security.json | ||
COPY solr-security.sh /usr/bin/solr-security.sh | ||
ENTRYPOINT ["/usr/bin/solr-security.sh"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version: '3' | ||
services: | ||
zoo1: | ||
image: zookeeper:3.4 | ||
hostname: zoo1 | ||
volumes: | ||
- 'zoo1_data:/data' | ||
environment: | ||
ZOO_MY_ID: 1 | ||
ZOO_PORT: 2181 | ||
ZOO_SERVERS: 'server.1=0.0.0.0:2888:3888' | ||
ports: | ||
- "2181:2181" | ||
restart: unless-stopped | ||
solr1: | ||
build: | ||
context: . | ||
hostname: solr1 | ||
ports: | ||
- "8983:8983" | ||
volumes: | ||
- 'solr1_varsolr:/var/solr' | ||
environment: | ||
ZK_HOST: 'zoo1' | ||
SOLR_JAVA_MEM: "-Xms1g -Xmx1g" | ||
restart: unless-stopped | ||
speedbump: | ||
image: kffl/speedbump:latest | ||
ports: | ||
- "8984:8984" | ||
command: --latency 2s --port 8984 solr1:8983 | ||
restart: unless-stopped | ||
volumes: | ||
zoo1_data: | ||
solr1_varsolr: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"authentication":{ | ||
"blockUnknown": true, | ||
"class":"solr.BasicAuthPlugin", | ||
"credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="} | ||
}, | ||
"authorization":{ | ||
"class":"solr.RuleBasedAuthorizationPlugin", | ||
"permissions":[{"name":"security-edit", | ||
"role":"admin"}], | ||
"user-role":{"solr":"admin"} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
solr zk cp /opt/solr-8.0.0/security.json zk:security.json -z zoo1:2181 | ||
exec /opt/docker-solr/scripts/docker-entrypoint.sh -f "$@" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM solr:9.0.0 | ||
|
||
COPY security.json security.json | ||
COPY solr-security.sh /usr/bin/solr-security.sh | ||
ENTRYPOINT ["/usr/bin/solr-security.sh"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version: '3' | ||
services: | ||
zoo1: | ||
image: zookeeper:3.4 | ||
hostname: zoo1 | ||
volumes: | ||
- 'zoo1_data:/data' | ||
environment: | ||
ZOO_MY_ID: 1 | ||
ZOO_PORT: 2181 | ||
ZOO_SERVERS: 'server.1=0.0.0.0:2888:3888' | ||
ports: | ||
- "2181:2181" | ||
restart: unless-stopped | ||
solr1: | ||
build: | ||
context: . | ||
hostname: solr1 | ||
ports: | ||
- "8983:8983" | ||
volumes: | ||
- 'solr1_varsolr:/var/solr' | ||
environment: | ||
ZK_HOST: 'zoo1' | ||
SOLR_JAVA_MEM: "-Xms1g -Xmx1g" | ||
restart: unless-stopped | ||
speedbump: | ||
image: kffl/speedbump:latest | ||
ports: | ||
- "8984:8984" | ||
command: --latency 2s --port 8984 solr1:8983 | ||
restart: unless-stopped | ||
volumes: | ||
zoo1_data: | ||
solr1_varsolr: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"authentication":{ | ||
"blockUnknown": true, | ||
"class":"solr.BasicAuthPlugin", | ||
"credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="} | ||
}, | ||
"authorization":{ | ||
"class":"solr.RuleBasedAuthorizationPlugin", | ||
"permissions":[{"name":"security-edit", | ||
"role":"admin"}], | ||
"user-role":{"solr":"admin"} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
solr zk cp /opt/solr-9.0.0/security.json zk:security.json -z zoo1:2181 | ||
exec /opt/solr-9.0.0/docker/scripts/docker-entrypoint.sh -f "$@" |
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
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
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
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
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