Update docker-entrypoint.sh
set es url on any start to make it updatesave
This commit is contained in:
parent
d5856c7ef5
commit
d5e7c5a603
@ -11,8 +11,8 @@ if [ "$1" = 'zammad-railsserver' ]; then
|
||||
echo "railsserver can access postgresql server now..."
|
||||
|
||||
cd ${ZAMMAD_DIR}
|
||||
bundle exec rake db:migrate &> /dev/null
|
||||
bundle exec rails r "Setting.set('es_url', 'http://zammad-elasticsearch:9200')"
|
||||
bundle exec rake db:migrate &> /dev/null
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo "creating db & searchindex..."
|
||||
|
Loading…
Reference in New Issue
Block a user