-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
99 lines (94 loc) · 2.67 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
93
94
95
96
97
98
99
# Docker compose to spin up aries-controller's for testing multi agent and multi controller combinations
# sa-sc = single agent single controller
# ma-mc = multi agent multi controller
# (and then all 4 combinations)
#
version: '3.5'
networks:
agency-network:
external: true
services:
sa-sc-controller:
environment:
- MULTI_AGENT=false
- MULTI_CONTROLLER=false
- WALLET_ID=sascwallet
- WALLET_KEY=sascwalletkey
- SEED=000000000000000000000000Steward1
- AGENT_ID=sascagent
- PORT=3030
- SELF_URL=http://sa-sc-controller:3030
- ADMIN_API_KEY=sascAdminApiKey
build:
context: .
dockerfile: Dockerfile
image: sa-sc-controller
container_name: sa-sc-controller
ports:
- "3030:3030"
volumes:
- ./:/www
# - ../protocol-common/dist:/www/node_modules/protocol-common
networks:
- agency-network
tty: true
sa-mc-controller:
environment:
- MULTI_AGENT=false
- MULTI_CONTROLLER=true
- PORT=3031
- SELF_URL=http://sa-mc-controller:3031
build:
context: .
dockerfile: Dockerfile
image: sa-mc-controller
container_name: sa-mc-controller
ports:
- "3031:3031"
volumes:
- ./:/www
networks:
- agency-network
tty: true
ma-sc-controller:
environment:
- MULTI_AGENT=true
- MULTI_CONTROLLER=false
- WALLET_ID=mascwallet
- WALLET_KEY=mascwalletkey
- AGENT_ID=mascagent
- PORT=3032
- SELF_URL=http://ma-sc-controller:3032
- ADMIN_API_KEY=adminApiKey
build:
context: .
dockerfile: Dockerfile
image: ma-sc-controller
container_name: ma-sc-controller
ports:
- "3032:3032"
volumes:
- ./:/www
networks:
- agency-network
tty: true
ma-mc-controller:
environment:
- MULTI_AGENT=true
- MULTI_CONTROLLER=true
- PORT=3033
- SELF_URL=http://ma-mc-controller:3033
- ADMIN_API_KEY=adminApiKey
- STEWARD_URL=http://sa-sc-controller:3030
build:
context: .
dockerfile: Dockerfile
image: ma-mc-controller
container_name: ma-mc-controller
ports:
- "3033:3033"
volumes:
- ./:/www
networks:
- agency-network
tty: true