-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
196 lines (185 loc) · 5.44 KB
/
docker-compose.yml
File metadata and controls
196 lines (185 loc) · 5.44 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
version: "3"
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: ula-aca-development-nginx-proxy
ports:
- 80:80
- 443:443
networks:
- aca-py
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- dhparam:/etc/nginx/dhparam
- certs:/etc/nginx/certs:ro
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
networks:
- aca-py
environment:
NGINX_PROXY_CONTAINER: ula-aca-development-nginx-proxy
DEFAULT_EMAIL: timo@glastra.me
volumes:
- certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- dhparam:/etc/nginx/dhparam
faber-register-seed:
image: byrnedo/alpine-curl
networks:
- von
command: >-
http://von_webserver_1:8000/register
-X POST
-d '{"alias":"Faber Agent","seed":"faber_seed_000000000000000000001","role":"TRUST_ANCHOR"}'
alice-register-seed:
image: byrnedo/alpine-curl
networks:
- von
command: >-
http://von_webserver_1:8000/register
-X POST
-d '{"alias":"Alice Agent","seed":"alice_seed_000000000000000000001","role":"TRUST_ANCHOR"}'
acme-register-seed:
image: byrnedo/alpine-curl
networks:
- von
command: >-
http://von_webserver_1:8000/register
-X POST
-d '{"alias":"Acme Agent","seed":"acme_seed_0000000000000000000001","role":"TRUST_ANCHOR"}'
faber-aca-py:
image: bcgovimages/aries-cloudagent:py36-1.11-1_0.4.0
environment:
VIRTUAL_HOST: aca.faber.blockchainlandscape.com
LETSENCRYPT_HOST: aca.faber.blockchainlandscape.com
VIRTUAL_PORT: "7002"
depends_on:
- faber-webhook-relay
- faber-register-seed
networks:
- von
- aca-py
ports:
- "7002"
command: >-
start
--label "Faber Agent"
--endpoint http://faber-aca-py:7000
--genesis-url http://von_webserver_1:8000/genesis
--webhook-url http://faber-webhook-relay:8080
--admin 0.0.0.0 7002
--admin-insecure-mode
--inbound-transport http 0.0.0.0 7000
--inbound-transport ws 0.0.0.0 7001
--outbound-transport http
--outbound-transport ws
--wallet-type indy
--wallet-name "Faber Wallet"
--wallet-key FaberWallet000000
--seed faber_seed_000000000000000000001
alice-aca-py:
image: bcgovimages/aries-cloudagent:py36-1.11-1_0.4.0
environment:
VIRTUAL_HOST: aca.alice.blockchainlandscape.com
LETSENCRYPT_HOST: aca.alice.blockchainlandscape.com
VIRTUAL_PORT: "8002"
depends_on:
- alice-webhook-relay
- alice-register-seed
networks:
- von
- aca-py
ports:
- "8002"
command: >-
start
--endpoint http://alice-aca-py:8000
--admin 0.0.0.0 8002
--admin-insecure-mode
--webhook-url http://alice-webhook-relay:8080
--label "Alice Agent"
--inbound-transport http 0.0.0.0 8000
--inbound-transport ws 0.0.0.0 8001
--outbound-transport http
--outbound-transport ws
--genesis-url http://von_webserver_1:8000/genesis
--wallet-type indy
--wallet-name "Alice Wallet"
--wallet-key AliceWallet000000
--seed alice_seed_000000000000000000001
acme-aca-py:
image: bcgovimages/aries-cloudagent:py36-1.11-1_0.4.0
environment:
VIRTUAL_HOST: aca.acme.blockchainlandscape.com
LETSENCRYPT_HOST: aca.acme.blockchainlandscape.com
VIRTUAL_PORT: "6002"
depends_on:
- acme-webhook-relay
- acme-register-seed
networks:
- von
- aca-py
ports:
- "6002"
command: >-
start
--endpoint http://acme-aca-py:6000
--admin 0.0.0.0 6002
--admin-insecure-mode
--webhook-url http://acme-webhook-relay:8080
--label "Acme Agent"
--inbound-transport http 0.0.0.0 6000
--inbound-transport ws 0.0.0.0 6001
--outbound-transport http
--outbound-transport ws
--genesis-url http://von_webserver_1:8000/genesis
--wallet-type indy
--wallet-name "Acme Wallet"
--wallet-key AcmeWallet0000000
--seed acme_seed_0000000000000000000001
faber-webhook-relay:
image: karimstekelenburg/aries-cloudagent-webhook-relay
environment:
VIRTUAL_HOST: whr.faber.blockchainlandscape.com
LETSENCRYPT_HOST: whr.faber.blockchainlandscape.com
VIRTUAL_PORT: "8080"
networks:
- aca-py
command: --log DEBUG
alice-webhook-relay:
image: karimstekelenburg/aries-cloudagent-webhook-relay
environment:
VIRTUAL_HOST: whr.alice.blockchainlandscape.com
LETSENCRYPT_HOST: whr.alice.blockchainlandscape.com
VIRTUAL_PORT: "8080"
networks:
- aca-py
command: --log DEBUG
acme-webhook-relay:
image: karimstekelenburg/aries-cloudagent-webhook-relay
environment:
VIRTUAL_HOST: whr.acme.blockchainlandscape.com
LETSENCRYPT_HOST: whr.acme.blockchainlandscape.com
VIRTUAL_PORT: "8080"
networks:
- aca-py
command: --log DEBUG
networks:
von:
external:
name: von_von
aca-py:
volumes:
conf:
vhost:
html:
dhparam:
certs: