fix elasticsearch url

This commit is contained in:
André Bauer 2017-03-08 20:15:02 +01:00
parent b419b20d3f
commit 34ec6affbb

View File

@ -16,7 +16,7 @@ if [ "$1" = 'zammad-railsserver' ]; then
bundle exec rake db:create bundle exec rake db:create
bundle exec rake db:migrate bundle exec rake db:migrate
bundle exec rake db:seed 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 bundle exec rake searchindex:rebuild
fi fi