Skip to content

Commit 0ef8fcd

Browse files
committed
Added hos and disable.allowUrls flag
1 parent dfc1f1b commit 0ef8fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/init_solr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ solr_run() {
154154
echo "Running with version ${SOLR_VERSION} in standalone mode"
155155
echo "Starting solr on port ${SOLR_PORT}..."
156156

157-
./${SOLR_INSTALL_DIR}/bin/solr -p ${SOLR_PORT} -s ${SOLR_HOME} -Dsolr.disable.shardsWhitelist=true || exit_on_error "Can't start Solr"
157+
./${SOLR_INSTALL_DIR}/bin/solr start --host 0.0.0.0 -p ${SOLR_PORT} -s ${SOLR_HOME} -Dsolr.jetty.host=0.0.0.0 -Dsolr.disable.allowUrls=true -Dsolr.disable.shardsWhitelist=true || exit_on_error "Can't start Solr"
158158

159159
echo "Started"
160160

0 commit comments

Comments
 (0)