Skip to content

Commit

Permalink
Adds docker compose to run ontorefine locally
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aravind committed Aug 19, 2024
1 parent a0e3fc2 commit 114ef09
Show file tree
Hide file tree
Showing 5 changed files with 974 additions and 459 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fetch-data-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
matrix="[]"
IFS=',' read -ra URLS <<< "${{ inputs.api-urls }}"
for api_url in "${URLS[@]}"; do
curl "$api_url" >> entities.json
curl "$api_url" > entities.json
api_name=$(echo "$api_url" | awk -F/ '{print $(NF-3)}')
ttl_file_name="spektrix-${api_name}-entities.ttl"
artifact_name="spektrix-${api_name}"
Expand Down
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: "3"

services:
refine:
image: ontotext/refine:1.2.1
restart: unless-stopped
environment:
SERVER_HOST: localhost
ports:
- "7333:7333"
volumes:
- refine_data:/opt/ontorefine/data
- ./:/opt/ontorefine/run
command: /opt/ontorefine/run/run_ontorefine.sh
container_name: ontorefine

volumes:
refine_data:
Loading

0 comments on commit 114ef09

Please sign in to comment.