debug es reindex

This commit is contained in:
André Bauer 2018-04-14 18:28:56 +02:00
parent 03f2bd9955
commit dc1f8128cc
2 changed files with 2 additions and 1 deletions

2
.env
View File

@ -1,4 +1,4 @@
# don't forget to add the minus before the version
# example: VERSION=-2.1.0-13
IMAGE_REPO=zammad/zammad-docker-compose
IMAGE_REPO=monotek/zammad-docker-compose
VERSION=

View File

@ -76,6 +76,7 @@ if [ "$1" = 'zammad-init' ]; then
done
if [ -z "$(curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices |grep zammad)" ]; then
curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices
echo "rebuilding es searchindex..."
bundle exec rake searchindex:rebuild
fi