Start searchd in api container

Since https://github.com/openSUSE/open-build-service/pull/8558 OBS Api
now requires a searchd for creating projects, previously it was only
required for searching in the webui
This commit is contained in:
Stephan Kulow 2019-11-04 11:26:43 +01:00
parent 0cb54b8be0
commit 9b035e3e8c

View File

@ -17,7 +17,7 @@ services:
command: /usr/sbin/memcached -u memcached
api:
<<: *obs
command: chroot --userspec=wwwrun / /bin/bash -c "cd /srv/www/obs/api && rake ts:rebuild && /usr/bin/bundle exec rails s -e production"
command: chroot --userspec=wwwrun / /bin/bash -c "cd /srv/www/obs/api && RAILS_ENV=production rake ts:rebuild && /usr/bin/bundle exec rails s -e production"
depends_on:
- db
- cache