-
Notifications
You must be signed in to change notification settings - Fork 32
/
docker-compose.yaml
86 lines (83 loc) · 2.33 KB
/
docker-compose.yaml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
services:
vlei-server:
image: gleif/vlei
environment:
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
command:
- vLEI-server
- -s
- ./schema/acdc
- -c
- ./samples/acdc/
- -o
- ./samples/oobis/
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:7723/oobi/EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
ports:
- 7723:7723
keria:
image: ${KERIA_IMAGE:-weboftrust/keria}:${KERIA_IMAGE_TAG:-0.2.0-dev4}
environment:
- KERI_AGENT_CORS=1
- KERI_URL=http://keria:3902
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
volumes:
- ./config/keria.json:/keria/config/keri/cf/keria.json
entrypoint:
[
'keria',
'start',
'--config-dir',
'/keria/config',
'--config-file',
'keria',
'--name',
'agent',
]
healthcheck:
test: ['CMD', 'wget', '--spider', 'http://keria:3902/spec.yaml']
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
ports:
- 3901:3901
- 3902:3902
- 3903:3903
witness-demo:
image: weboftrust/keri-witness-demo:1.1.0
environment:
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:5642/oobi']
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
volumes:
- ./config/witness-demo:/keripy/scripts/keri/cf/main
ports:
- 5642:5642
- 5643:5643
- 5644:5644
deps:
image: alpine
command: ['echo', 'Dependencies running']
depends_on:
vlei-server:
condition: service_healthy
keria:
condition: service_healthy
witness-demo:
condition: service_healthy