-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.yml
92 lines (90 loc) · 2.73 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: "3"
services:
ngrok-verifier:
image: wernight/ngrok
command: ngrok http verifier-agent:${VERIFIER_HTTP_PORT} --log stdout
networks:
- indy_demo
verifier-agent:
build:
context: ../../
dockerfile: dockerfiles/agents/Dockerfile.ngrok
environment:
- NGROK_NAME=ngrok-verifier
- ADMIN_URL=http://verifier-agent:${VERIFIER_ADMIN_PORT}
- AGENT_NAME=${VERIFIER_AGENT_NAME}
- ADMIN_PORT=${VERIFIER_ADMIN_PORT}
- HTTP_PORT=${VERIFIER_HTTP_PORT}
- ACAPY_WEBHOOK_URL=${VERIFIER_WEBHOOK_URL}
- AGENT_ENDPOINT=${VERIFIER_AGENT_ENDPOINT}
- WALLET_SEED=${VERIFIER_WALLET_SEED}
- WALLET_NAME=${VERIFIER_WALLET_NAME}
- WALLET_KEY=${VERIFIER_WALLET_KEY}
- WALLET_TYPE=${WALLET_TYPE}
- ACAPY_ADMIN_INSECURE_MODE=${VERIFIER_ADMIN_SECURE}
- GENESIS_URL=${GENESIS_URL}
ports:
- ${VERIFIER_HTTP_PORT}:${VERIFIER_HTTP_PORT}
- ${VERIFIER_ADMIN_PORT}:${VERIFIER_ADMIN_PORT}
networks:
- indy_demo
ngrok-issuer:
image: wernight/ngrok
command: ngrok http issuer-agent:${ISSUER_HTTP_PORT} --log stdout
networks:
- indy_demo
issuer-agent:
build:
context: ../../
dockerfile: dockerfiles/agents/Dockerfile.ngrok
environment:
- NGROK_NAME=ngrok-issuer
- ADMIN_URL=http://issuer-agent:${ISSUER_ADMIN_PORT}
- AGENT_NAME=${ISSUER_AGENT_NAME}
- ADMIN_PORT=${ISSUER_ADMIN_PORT}
- HTTP_PORT=${ISSUER_HTTP_PORT}
- ACAPY_WEBHOOK_URL=${ISSUER_WEBHOOK_URL}
- AGENT_ENDPOINT=${ISSUER_AGENT_ENDPOINT}
- WALLET_SEED=${ISSUER_WALLET_SEED}
- WALLET_NAME=${ISSUER_WALLET_NAME}
- WALLET_KEY=${ISSUER_WALLET_KEY}
- WALLET_TYPE=${WALLET_TYPE}
- ACAPY_ADMIN_INSECURE_MODE=${ISSUER_ADMIN_SECURE}
- GENESIS_URL=${GENESIS_URL}
ports:
- ${ISSUER_HTTP_PORT}:${ISSUER_HTTP_PORT}
- ${ISSUER_ADMIN_PORT}:${ISSUER_ADMIN_PORT}
networks:
- indy_demo
issuer-notebook:
build:
context: ../../
dockerfile: dockerfiles/controllers/Dockerfile.basiccontroller
args:
- jupyter_port=${ISSUER_JUPYTER_PORT}
depends_on:
- issuer-agent
networks:
- indy_demo
volumes:
- ./notebooks/issuer:/workspace
ports:
- "8888:8888"
- ${ISSUER_WEBHOOK_PORT}:${ISSUER_WEBHOOK_PORT}
verifier-notebook:
build:
context: ../../
dockerfile: dockerfiles/controllers/Dockerfile.basiccontroller
args:
- jupyter_port=${VERIFIER_JUPYTER_PORT}
depends_on:
- verifier-agent
networks:
- indy_demo
volumes:
- ${PWD}/notebooks/verifier:/workspace
ports:
- "8889:8888"
- ${VERIFIER_WEBHOOK_PORT}:${VERIFIER_WEBHOOK_PORT}
networks:
indy_demo: