Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
03f2bd9955
@ -1,4 +1,4 @@
|
||||
FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.5
|
||||
FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.8
|
||||
MAINTAINER Zammad <info@zammad.org>
|
||||
ARG BUILD_DATE
|
||||
|
||||
|
@ -75,7 +75,7 @@ if [ "$1" = 'zammad-init' ]; then
|
||||
sleep 5
|
||||
done
|
||||
|
||||
if [ -n "$(curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices |grep zammad)" ]; then
|
||||
if [ -z "$(curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices |grep zammad)" ]; then
|
||||
echo "rebuilding es searchindex..."
|
||||
bundle exec rake searchindex:rebuild
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user