forked from Indicio-tech/acapy-revocation-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
69 lines (65 loc) · 1.7 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
63
64
65
66
67
68
69
version: '3'
services:
holder:
image: bcgovimages/aries-cloudagent:py36-1.16-0_0.6.0
ports:
- 3000:3000
- 3001:3001
volumes:
- ./configs:/home/indy/configs:z
command: >
start --arg-file ./configs/holder.yml
-e http://holder:3000
--webhook-url http://webhook-listener:8080
depends_on:
- tails
- webhook-listener
issuer:
image: bcgovimages/aries-cloudagent:py36-1.16-0_0.6.0
ports:
- 3002:3000
- 3003:3001
volumes:
- ./configs:/home/indy/configs:z
command: >
start --arg-file ./configs/issuer.yml
-e http://issuer:3000
--tails-server-base-url http://tails:6543
--webhook-url http://webhook-listener:8080
depends_on:
- tails
- webhook-listener
tails:
image: indy-tails-server
build:
context: ./indy-tails-server
dockerfile: ./docker/Dockerfile.tails-server
ports:
- 6543:6543
environment:
- GENESIS_URL=https://raw.githubusercontent.com/Indicio-tech/indicio-network/master/genesis_files/pool_transactions_testnet_genesis
command: >
tails-server
--host 0.0.0.0
--port 6543
--storage-path /tmp/tails-files
--log-level INFO
webhook-listener:
image: mendhak/http-https-echo:18
environment:
- HTTP_PORT=8080
demo:
build:
context: .
dockerfile: ./docker/Dockerfile.demo
environment:
- WAIT_BEFORE_HOSTS=3
- WAIT_HOSTS=holder:3000,issuer:3000
- WAIT_HOSTS_TIMEOUT=30
- WAIT_SLEEP_INTERVAL=1
- WAIT_HOST_CONNECT_TIMEOUT=10
- HOLDER=http://holder:3001
- ISSUER=http://issuer:3001
depends_on:
- holder
- issuer