Skip to content

Commit

Permalink
MIR-1360 fix zookeeper is hardcoded in mir solr docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhofmann authored and kkrebs committed Oct 14, 2024
1 parent 9df94f0 commit acc0f78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mir-webapp/src/main/solr/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,6 @@ echo " }" >> $secruity_json
echo " }" >> $secruity_json
echo "}" >> $secruity_json

(/opt/solr/docker/scripts/wait-for-solr.sh;/opt/solr/bin/solr zk cp $secruity_json zk:security.json -z localhost:9983)&
ZK_HOST=${ZK_HOST:-localhost:9983}
(/opt/solr/docker/scripts/wait-for-solr.sh;/opt/solr/bin/solr zk cp $secruity_json zk:security.json -z "$ZK_HOST")&
/opt/solr/docker/scripts/solr-foreground -c;

0 comments on commit acc0f78

Please sign in to comment.