mozilla / servicebook

A web service to manage our projects
Mozilla Public License 2.0
15 stars 6 forks source link

reindex search in docker #44

Open tarekziade opened 7 years ago

tarekziade commented 7 years ago

A) get its config from serviceweb.ini and b) be run on startup of the container

cc @ckolos

karlht commented 7 years ago

This came up in the infa meeting today. Is there a current status/timeline?

davehunt commented 6 years ago

@tarekziade do you have some pointers for moving forward with this?

tarekziade commented 6 years ago

We need to add a call to servicebook-reindex everytime a docker is created by circle-ci so the search DB is initially filled.

So I guess we just need to add that to the circle-ci config file

davehunt commented 6 years ago

@karlht was under the impression this would also need to be run after modifying/adding a project as there was an issue searching for a project after a change/addition. Could you confirm if this is the case Karl?

tarekziade commented 6 years ago

When you create or modify content, it's indexed on the fly. If not, there's a bug unrelated to the full reindex that needs to be done on a fresh dicker deployment