Edward
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
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} |
|
|
|