-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
144 lines (140 loc) · 4.05 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
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
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"
],
"durls": [
"http://vlei-server:7723/oobi/EBNaNu-M9P5cgrnfl2Fvymy4E_jvxxyjb70PRtiANlJy",
"http://vlei-server:7723/oobi/EMhvwOlyEJ9kN4PrwCpr9Jsv7TxPhiYveZ0oP3lJzdEi",
"http://vlei-server:7723/oobi/EKA57bKBKxr_kN7iN5i7lMUxpMG-s19dRcmov1iDxz-E",
"http://vlei-server:7723/oobi/EEy9PkikFcANV1l7EHukCeXqrzT1hNZjGlUk7wuMO5jw",
"http://vlei-server:7723/oobi/ENPXp1vQzRF6JwIuS-mp2U8Uf1MoADoP_GqQ62VsDZWY",
"http://vlei-server:7723/oobi/EH6ekLjSr8V32WyFbGe1zXjTzFs9PkTYmupJ9H65O14g",
"http://vlei-server:7723/oobi/EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao"
]
}
wan.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wan": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["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/"]
}
}
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
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
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
# ports:
# - 5642:5642
# - 5643:5643
# - 5644:5644
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
# build:
# context: ../keria
# dockerfile: ./images/keria.dockerfile
environment:
- KERI_AGENT_CORS=1
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
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
test:
depends_on:
keria:
condition: service_healthy
build:
context: ./
environment:
- KERIA_HOSTNAME=keria