opensemanticsearch / open-semantic-etl

Python based Open Source ETL tools for file crawling, document processing (text extraction, OCR), content analysis (Entity Extraction & Named Entity Recognition) & data enrichment (annotation) pipelines & ingestor to Solr or Elastic search index & linked data graph database
https://opensemanticsearch.org/etl
GNU General Public License v3.0
254 stars 69 forks source link

Fix docker race between the apps and etl container #160

Closed wsldankers closed 1 year ago

wsldankers commented 1 year ago

When starting the containers for the first time, docker will use the first container that starts to fill the /etc/opensemanticsearch volume.

This volume should not be initialized like this and the apps container has been updated to reflect that. In this commit we make sure we do not inadvertently initialize it from the etl container either.

The new entrypoint script also waits until the apps container is finished initializing the configuration and database.