forked from Kurrawong/bgs-prez-ui-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (64 loc) · 1.61 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
services:
fuseki:
image: ghcr.io/kurrawong/fuseki-geosparql:git-main-e642d849
environment:
- JAVA_OPTS=-Xms512m -Xmx2048m
ports:
- 3030:3030
volumes:
- fuseki-data:/fuseki
profiles:
- db
- stack
prez:
image: ghcr.io/rdflib/prez:3.8.4
ports:
- 8000:8000
environment:
- SPARQL_ENDPOINT=http://fuseki:3030/bgs
# depends_on:
# - fuseki
healthcheck:
test: ["CMD", "curl", "-f", "http://fuseki:3030"]
interval: 5s
timeout: 10s
retries: 3
start_period: 20s
profiles:
- prez
- stack
prez-ui:
build:
context: .
dockerfile: Dockerfile
ports:
- 5173:8000
env_file: .env
# Commenting below out due to bug in docker-compose: https://github.com/docker/compose/issues/10751
# depends_on:
# - prez
healthcheck:
test: ["CMD", "curl", "-f", "http://prez:8000"]
interval: 5s
timeout: 10s
retries: 3
start_period: 30s
profiles:
- ui
- stack
# data-loader:
# container_name: data-loader
# build:
# context: .
# dockerfile: data-loader.Dockerfile
# volumes:
# - ./data_loading/create_fuseki_dataset.py:/app/create_fuseki_dataset.py
# - ./data_loading/data_loader.py:/app/data_loader.py
# - ./data_loading/entrypoint.sh:/app/entrypoint.sh
# - ./data_loading/enable_union_default_graph.py:/app/enable_union_default_graph.py
# - ./data_loading/enable_geosparql.py:/app/enable_geosparql.py
# - fuseki-data:/fuseki
# profiles:
# - loader
volumes:
fuseki-data: