Skip to content

Run using docker compose

Vincent Emonet edited this page Apr 10, 2019 · 1 revision

Apache Drill and GraphDB services can be run using docker-compose instead of bash commands (don't forget to download the required files).

# Start Apache Drill and GraphDB
docker-compose up -d

# Stop
docker-compose down

When running using docker-compose the two containers are deployed on the network network-pipeline_data2services. It can be used to link to the graphdb and drill containers.

# Usage example with AutoR2RML
docker run -it --rm -v /data:/data \
  --network network-pipeline_data2services \
  autor2rml -r \
  -j "jdbc:drill:drillbit=data2services-pipeline_drill_1:31010" \
  -o "/data/data2services/mapping.trig" -d "/data/data2services" \
  -g "http://data2services/graph/autor2rml"

The URLs for the 2 services are