Skip to content

Commit a2f074e

Browse files
committed
fix: change solr remote url
Signed-off-by: GridexX <arsene582@gmail.com>
1 parent e947b49 commit a2f074e

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

14/mariadb-tomcat/xwiki/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function configure() {
156156
if [ $INDEX_HOST != 'localhost' ]; then
157157
echo ' Configuring remote Solr Index'
158158
xwiki_set_properties 'solr.type' 'remote'
159-
xwiki_set_properties 'solr.remote.url' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
159+
xwiki_set_properties 'solr.remote.baseUrl' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
160160
fi
161161

162162
# If the files already exist then copy them to the XWiki's WEB-INF directory. Otherwise copy the default config

14/mysql-tomcat/xwiki/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function configure() {
156156
if [ $INDEX_HOST != 'localhost' ]; then
157157
echo ' Configuring remote Solr Index'
158158
xwiki_set_properties 'solr.type' 'remote'
159-
xwiki_set_properties 'solr.remote.url' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
159+
xwiki_set_properties 'solr.remote.baseUrl' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
160160
fi
161161

162162
# If the files already exist then copy them to the XWiki's WEB-INF directory. Otherwise copy the default config

14/postgres-tomcat/xwiki/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function configure() {
156156
if [ $INDEX_HOST != 'localhost' ]; then
157157
echo ' Configuring remote Solr Index'
158158
xwiki_set_properties 'solr.type' 'remote'
159-
xwiki_set_properties 'solr.remote.url' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
159+
xwiki_set_properties 'solr.remote.baseUrl' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
160160
fi
161161

162162
# If the files already exist then copy them to the XWiki's WEB-INF directory. Otherwise copy the default config

15/mariadb-tomcat/xwiki/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function configure() {
156156
if [ $INDEX_HOST != 'localhost' ]; then
157157
echo ' Configuring remote Solr Index'
158158
xwiki_set_properties 'solr.type' 'remote'
159-
xwiki_set_properties 'solr.remote.url' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
159+
xwiki_set_properties 'solr.remote.baseUrl' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
160160
fi
161161

162162
# If the files already exist then copy them to the XWiki's WEB-INF directory. Otherwise copy the default config

15/mysql-tomcat/xwiki/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function configure() {
156156
if [ $INDEX_HOST != 'localhost' ]; then
157157
echo ' Configuring remote Solr Index'
158158
xwiki_set_properties 'solr.type' 'remote'
159-
xwiki_set_properties 'solr.remote.url' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
159+
xwiki_set_properties 'solr.remote.baseUrl' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
160160
fi
161161

162162
# If the files already exist then copy them to the XWiki's WEB-INF directory. Otherwise copy the default config

15/postgres-tomcat/xwiki/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function configure() {
156156
if [ $INDEX_HOST != 'localhost' ]; then
157157
echo ' Configuring remote Solr Index'
158158
xwiki_set_properties 'solr.type' 'remote'
159-
xwiki_set_properties 'solr.remote.url' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
159+
xwiki_set_properties 'solr.remote.baseUrl' "http://$INDEX_HOST:$INDEX_PORT/solr/xwiki"
160160
fi
161161

162162
# If the files already exist then copy them to the XWiki's WEB-INF directory. Otherwise copy the default config

template/xwiki/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function configure() {
145145
if [ \$INDEX_HOST != 'localhost' ]; then
146146
echo ' Configuring remote Solr Index'
147147
xwiki_set_properties 'solr.type' 'remote'
148-
xwiki_set_properties 'solr.remote.url' "http://\$INDEX_HOST:\$INDEX_PORT/solr/xwiki"
148+
xwiki_set_properties 'solr.remote.baseUrl' "http://\$INDEX_HOST:\$INDEX_PORT/solr/xwiki"
149149
fi
150150

151151
# If the files already exist then copy them to the XWiki's WEB-INF directory. Otherwise copy the default config

0 commit comments

Comments
 (0)