-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
44 lines (43 loc) · 1.07 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.8'
services:
api:
image: anitacaron/sssom-api:v0.1.1
command: uvicorn app.main:app --host 0.0.0.0
ports:
- 8008:8000
depends_on:
- triplestore
- upload-triplestore
environment:
- SPARQL_ENDPOINT=http://triplestore:9999/blazegraph/namespace/kb/sparql
triplestore:
image: anitacaron/blazegraph:v0.4.2
environment:
- JAVA_OPTS=-Xmx16G
ports:
- 9999:9999
volumes:
- ./data:/data
- ./config/RWStore.properties:/RWStore.properties
- ./config/log4j.properties:/log4j.properties
healthcheck:
test: ["CMD", "curl", "-f", "http://triplestore:9999/"]
interval: 3s
timeout: 5s
retries: 3
upload-triplestore:
image: anitacaron/upload-triplestore:v0.1.0
depends_on:
- triplestore
links:
- triplestore
environment:
- SERVER=http://triplestore:9999/blazegraph
volumes:
- ./data:/data
- ./config/RWStore.properties:/RWStore.properties
oxo2:
image: ghcr.io/ebispot/oxo2:dev
env_file: .env
ports:
- 8080:8080