Thank you for reporting this issue.
worker.threads option cannot be configured this way for the docker image. We plan to fix it in the next patch release.
In the meantime, the only way to configure
worker.threads is to build a new docker image with a custom app-search.yml.
Example, for app-search.yml:
If other options need to be passed with
-e, they will need to be included in app-search.yml.
In the same directory as app-search.yml, add a Dockerfile:
COPY app-search.yml /usr/share/app-search/config/app-search.yml
Build the docker image named
docker build -t app-search-test .
Finally, run the container with:
docker run -ti -p 3003:3003 -p 3002:3002 -e elasticsearch.host=<host> -e elasticsearch.password=<password> -e elasticsearch.username=<username> -e worker.threads=8 app-search-test