OLS icon indicating copy to clipboard operation
OLS copied to clipboard

Make docker compose setup self contained

Open KonradHoeffner opened this issue 3 years ago • 4 comments

Adds the ols-config-importer and the ols-indexer to the docker compose setup. Instead of the multi-step method, a single docker-compose up is all that is needed. See https://github.com/EBISPOT/OLS/issues/575.

KonradHoeffner avatar Apr 20 '22 14:04 KonradHoeffner

If this works I will cry a few tears of joy..

matentzn avatar Apr 20 '22 16:04 matentzn

@matentzn it does but it means you have to run the config importer and indexer every time you start OLS. I think this is probably fine though as OLS only reindexes ontologies that have changed.

jamesamcl avatar Apr 20 '22 19:04 jamesamcl

Forgot about the indexing - I always had to redo it anyways, but yes, this is a problem! This wont work for a setup like ebis with many ontologies - but most external use cases load a handful of ontologies into OLS. This interplay of docker containers for services and indexing is a real nightmare.

matentzn avatar Apr 20 '22 19:04 matentzn

I could try adding profiles so that it could be configured whether the importer and indexer should be run or not.

KonradHoeffner avatar Jun 23 '22 07:06 KonradHoeffner