Kurrawong / fair-ease-matcher

Apache License 2.0
0 stars 0 forks source link

Create docker compose file for ETL + Jena #2

Open recalcitrantsupplant opened 1 year ago

recalcitrantsupplant commented 1 year ago

Use existing repo, just create a 'compose' subdirectory https://github.com/Kurrawong/fair-ease-matcher/

docker compose file that has: (use compose file from prez repo as starting point - do not need prez or prez ui containers though)

  1. Service 1: ETL: using config file (use bind mount for config, named volume for data). Build image from https://github.com/Kurrawong/tdb2-generation . Update dockerfile to use latest fuseki version. In time we should auto build this image and publish it to github container registry as we do for prez. If you like, have a go at this based on the prez repo but do not spend more than 30 mins/an hour on it - we can get people to build the ETL image locally for the purposes of this project. Base the config used for ETL on the project_configs/idn-config.ttl
  2. Service 2: Fuseki: instance with FTS enabled (use bind mount for config - same config as in 1, named volume for data). See prez repo (prez/demo) for example of Jena running in docker.
  3. named volume for data (used by above two services)
recalcitrantsupplant commented 1 year ago

example docker-compose.yml

services
- etl
- jena
- volume

use "depends on" option, wait until service completed

recalcitrantsupplant commented 1 year ago

This can be used for locally running the triplestore, either for performance or development reasons (changing the FTS index etc.): https://github.com/Kurrawong/fair-ease-matcher/blob/master/compose/docker-compose.yml