From cb82810a51beed926b687dfa299c4a8716fb3794 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 1 Jan 2019 15:02:36 -0200 Subject: [PATCH] =?UTF-8?q?Customiza=20par=C3=A2metros=20do=20Solr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/start.sh b/start.sh index 1c87a6d1b..fb9a7bddd 100755 --- a/start.sh +++ b/start.sh @@ -37,8 +37,8 @@ create_env() { echo "DEFAULT_FROM_EMAIL = ""${EMAIL_HOST_USER-''}" >> $FILENAME echo "SERVER_EMAIL = ""${EMAIL_HOST_USER-''}" >> $FILENAME echo "USE_SOLR = ""${USE_SOLR-False}" >> $FILENAME - echo "SOLR_COLLECTION = ""${SOLR_COLLECTION-'sapl_$RANDOM'}" >> $FILENAME - echo "SOLR_URL = ""${SOLR_URL-'http://localhost:8983'}" >> $FILENAME + echo "SOLR_COLLECTION = ""${SOLR_COLLECTION-sapl}" >> $FILENAME + echo "SOLR_URL = ""${SOLR_URL-http://localhost:8983}" >> $FILENAME echo "[ENV FILE] done." @@ -58,8 +58,8 @@ yes yes | python3 manage.py migrate ## SOLR USE_SOLR="${USE_SOLR:=False}" -SOLR_URL="${SOLR_URL:='http://localhost:8983'}" -SOLR_COLLECTION="${SOLR_COLLECTION:='sapl_$RANDOM'}" +SOLR_URL="${SOLR_URL:=http://localhost:8983}" +SOLR_COLLECTION="${SOLR_COLLECTION:=sapl}" NUM_SHARDS=${NUM_SHARDS:=1} RF=${RF:=1}