From 34ec6affbbccb6b734e535df418509ec0d52d682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Wed, 8 Mar 2017 20:15:02 +0100 Subject: [PATCH] fix elasticsearch url --- containers/zammad-railsserver/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/zammad-railsserver/docker-entrypoint.sh b/containers/zammad-railsserver/docker-entrypoint.sh index c475632..82b695a 100644 --- a/containers/zammad-railsserver/docker-entrypoint.sh +++ b/containers/zammad-railsserver/docker-entrypoint.sh @@ -16,7 +16,7 @@ if [ "$1" = 'zammad-railsserver' ]; then bundle exec rake db:create bundle exec rake db:migrate bundle exec rake db:seed - bundle exec rails r "Setting.set('es_url', 'http://elasticsearch:9200')" + bundle exec rails r "Setting.set('es_url', 'http://zammad-elasticsearch:9200')" bundle exec rake searchindex:rebuild fi