-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (51 loc) · 1.5 KB
/
docker-compose.yml
File metadata and controls
51 lines (51 loc) · 1.5 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
version: "3"
services:
alice-agent:
image: agent:alice
build: .
environment:
- ADMIN_PORT:${ALICE_ADMIN_PORT}
- HTTP_PORT:${ALICE_HTTP_PORT}
ports:
- ${ALICE_HTTP_PORT}:${ALICE_HTTP_PORT}
- ${ALICE_ADMIN_PORT}:${ALICE_ADMIN_PORT}
entrypoint: /bin/bash
command: [
"-c",
"
aca-py start \
--inbound-transport http '0.0.0.0' ${ALICE_HTTP_PORT} \
--outbound-transport http \
--endpoint ${ALICE_AGENT_ENDPOINT} \
--wallet-type 'indy' \
--seed '${ALICE_WALLET_SEED}' \
--admin '0.0.0.0' ${ALICE_ADMIN_PORT} \
--admin-insecure-mode \
--log-level info \
--plugin acapy_protocol_example.protocolexample \
--label ${ALICE_AGENT_NAME}",
]
bob-agent:
image: agent:bob
build: .
environment:
- ADMIN_PORT:${BOB_ADMIN_PORT}
- HTTP_PORT:${BOB_HTTP_PORT}
ports:
- ${BOB_HTTP_PORT}:${BOB_HTTP_PORT}
- ${BOB_ADMIN_PORT}:${BOB_ADMIN_PORT}
entrypoint: /bin/bash
command: [
"-c",
"aca-py start \
--inbound-transport http '0.0.0.0' ${BOB_HTTP_PORT} \
--outbound-transport http \
--endpoint ${BOB_AGENT_ENDPOINT} \
--wallet-type 'indy' \
--seed '${BOB_WALLET_SEED}' \
--admin '0.0.0.0' ${BOB_ADMIN_PORT} \
--admin-insecure-mode \
--log-level info \
--plugin acapy_protocol_example.protocolexample \
--label ${BOB_AGENT_NAME}",
]