Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile.virtuoso
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM tenforce/virtuoso:virtuoso7.2.5

RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*
44 changes: 17 additions & 27 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
version: '3.2'

services:
autoheal:
restart: always
image: willfarrell/autoheal
environment:
- AUTOHEAL_CONTAINER_LABEL=all
volumes:
- /var/run/docker.sock:/var/run/docker.sock
virtuoso:
image: tenforce/virtuoso:virtuoso7.2.5
build:
context: .
dockerfile: Dockerfile.virtuoso
environment:
- VIRT_SPARQL_MaxQueryCostEstimationTime=default
- VIRT_SPARQL_MaxQueryExecutionTime=300
Expand All @@ -19,24 +12,18 @@ services:
- type: volume
source: virtuoso-db1
target: /data
ports:
- "8890:8890"
restart: always
labels:
- "autoheal=true"
synbiohubFrontend:
image: synbiohub/sbh3frontend:snapshot
ports:
- "3333:3333"
dns: 8.8.8.8
restart: always
environment:
- backend=http://localhost:7777
- backendSS=http://synbiohub:7777
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8890/sparql"]
interval: 15s
timeout: 10s
retries: 4

synbiohub:
image: synbiohub/synbiohub:1.6.1-standalone
depends_on:
- virtuoso
depends_on:
virtuoso:
condition: service_healthy
ports:
- "7777:7777"
volumes:
Expand All @@ -46,10 +33,13 @@ services:
- type: volume
source: virtuoso-db1
target: /virtuoso
dns: 8.8.8.8
restart: always

synbiohubFrontend:
image: synbiohub/sbh3frontend:snapshot
ports:
- "3333:3333"
restart: always
volumes:
virtuoso-db1:
sbh1: