-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
206 lines (195 loc) · 5.49 KB
/
docker-compose.yaml
File metadata and controls
206 lines (195 loc) · 5.49 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
configs:
keria.json:
content: |
{
"dt": "2023-12-01T10:05:25.062609+00:00",
"keria": {
"dt": "2023-12-01T10:05:25.062609+00:00",
"curls": ["http://keria:3902/"]
},
"iurls": [
"http://witness-demo:5642/oobi/BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha/controller",
"http://witness-demo:5643/oobi/BLskRTInXnMxWaGqcpSyMgo0nYbalW99cGZESrz3zapM/controller",
"http://witness-demo:5644/oobi/BIKKuvBwpmDVA4Ds-EpL5bt9OqPzWPja2LigFYZN2YfX/controller",
"http://witness-demo:5645/oobi/BM35JN8XeJSEfpxopjn5jr7tAHCE5749f0OobhMLCorE/controller",
"http://witness-demo:5646/oobi/BIj15u5V11bkbtAxMA7gcNJZcax-7TgaBMLsQnMHpYHP/controller",
"http://witness-demo:5647/oobi/BF2rZTW79z4IXocYRQnjjsOuvFUQv-ptCf8Yltd7PfsM/controller"
]
}
wan.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wan": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["tcp://witness-demo:5632/", "http://witness-demo:5642/"]
},
}
wil.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wil": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://witness-demo:5643/"]
}
}
wes.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wes": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://witness-demo:5644/"]
}
}
wit.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wit": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://witness-demo:5645/"]
}
}
wub.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wub": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://witness-demo:5646/"]
}
}
wyx.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wyx": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://witness-demo:5647/"]
}
}
services:
vlei-server:
image: gleif/vlei:0.2.0
# image: vlei-server-local:latest
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:
depends_on:
vlei-server:
condition: service_healthy
witness-demo:
condition: service_healthy
image: ${KERIA_IMAGE:-weboftrust/keria}:${KERIA_IMAGE_TAG:-0.2.0-dev4}
platform: linux/x86_64
environment:
- KERI_AGENT_CORS=1
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
- KERI_URL=http://keria:3902
configs:
- source: keria.json
target: /usr/local/var/keri/cf/keria.json
entrypoint: ['keria', 'start', '--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: gleif/keri-witness-demo:1.2.7
image: weboftrust/keri-witness-demo:1.1.0
environment:
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
healthcheck:
test: ['CMD', 'wget', '--spider', 'http://witness-demo:5642/oobi']
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
configs:
- source: wan.json
target: /keripy/scripts/keri/cf/main/wan.json
- source: wes.json
target: /keripy/scripts/keri/cf/main/wes.json
- source: wil.json
target: /keripy/scripts/keri/cf/main/wil.json
- source: wit.json
target: /keripy/scripts/keri/cf/main/wit.json
- source: wub.json
target: /keripy/scripts/keri/cf/main/wub.json
- source: wyx.json
target: /keripy/scripts/keri/cf/main/wyx.json
ports:
- 5642:5642
- 5643:5643
- 5644:5644
vlei-verifier:
image: gleif/vlei-verifier:0.1.4
container_name: vlei-verifier
hostname: vlei-verifier
environment:
- VERIFIER_MODE=test
- VERIFIER_CONFIG_FILE=verifier-config-docker-local.json
depends_on:
- vlei-server
- witness-demo
ports:
- 7676:7676
healthcheck:
test: ['CMD', 'wget', '--spider', 'http://vlei-verifier:7676/health']
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
deps:
image: alpine:latest
command: ['echo', 'Dependencies running']
depends_on:
vlei-server:
condition: service_healthy
keria:
condition: service_healthy
witness-demo:
condition: service_healthy
verify:
image: alpine:latest
command: ['echo', 'Dependencies running']
depends_on:
vlei-server:
condition: service_healthy
keria:
condition: service_healthy
witness-demo:
condition: service_healthy
vlei-verifier:
condition: service_healthy