forked from ontoportal/goo
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
62 lines (59 loc) · 1.54 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
services:
redis-ut:
image: redis
ports:
- 6379:6379
healthcheck:
test: redis-cli ping
interval: 1s
timeout: 3s
retries: 30
solr-ut:
image: ontoportal/solr-ut:0.1.0
ports:
- 8983:8983
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:8983/solr/term_search_core1/admin/ping?wt=json | grep -iq '\"status\":\"OK\"}' || exit 1"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 5
agraph-ut:
image: franzinc/agraph:v8.2.1
platform: linux/amd64
environment:
- AGRAPH_SUPER_USER=test
- AGRAPH_SUPER_PASSWORD=xyzzy
shm_size: 1g
ports:
- 10000-10035:10000-10035
volumes:
- agdata:/agraph/data
# - ./agraph/etc:/agraph/etc
command: >
bash -c "/agraph/bin/agraph-control --config /agraph/etc/agraph.cfg start
; agtool repos create ontoportal_test --supersede
; agtool users add anonymous
; agtool users grant anonymous root:ontoportal_test:rw
; tail -f /agraph/data/agraph.log"
healthcheck:
test: ["CMD-SHELL", "agtool storage-report ontoportal_test || exit 1"]
start_period: 30s
interval: 10s
timeout: 10s
retries: 10
profiles:
- ag
4store-ut:
image: bde2020/4store
platform: linux/amd64
ports:
- 9000:9000
command: >
bash -c "4s-backend-setup --segments 4 ontoportal_kb
&& 4s-backend ontoportal_kb
&& 4s-httpd -D -s-1 -p 9000 ontoportal_kb"
profiles:
- fs
volumes:
agdata: