From dc1f8128ccb11bb5a592950b0fd08693bcb50b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sat, 14 Apr 2018 18:28:56 +0200 Subject: [PATCH] debug es reindex --- .env | 2 +- containers/zammad/docker-entrypoint.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env b/.env index e05dd84..0af8aac 100644 --- a/.env +++ b/.env @@ -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= diff --git a/containers/zammad/docker-entrypoint.sh b/containers/zammad/docker-entrypoint.sh index 33202be..67b4df0 100644 --- a/containers/zammad/docker-entrypoint.sh +++ b/containers/zammad/docker-entrypoint.sh @@ -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