-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
101 lines (94 loc) · 2.06 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
100
101
version: '3'
networks:
services:
ipam:
config:
- subnet: 173.17.0.0/24
services:
#
# Pool
#
pool:
build:
context: .
dockerfile: indy-pool.dockerfile
args:
- pool_ip=173.17.0.100
ports:
- 9701-9708:9701-9708
networks:
services:
ipv4_address: 173.17.0.100
# Agents
tesla:
image: indy-agentjs
build:
context: .
command: "bash -c 'node --inspect=0.0.0.0 ./bin/www'"
# command: "bash -c 'npm start'"
environment:
- PORT=3000
- NAME=Tesla
- PASSWORD=123
- USERNAME=tesla
- PUBLIC_DID_ENDPOINT=173.17.0.99:3000
- DOCKERHOST=${DOCKERHOST}
- RUST_LOG=${RUST_LOG}
- TEST_POOL_IP=${TEST_POOL_IP}
ports:
- 3000:3000
- 9220:9229
depends_on:
- pool
networks:
services:
ipv4_address: 173.17.0.99
requester-vehicle:
image: indy-agentjs
command: "bash -c 'node --inspect=0.0.0.0 ./bin/www'"
# command: "bash -c 'npm start'"
environment:
- PORT=3001
- NAME=Requester-Vehicle
- PASSWORD=123
- USERNAME=requester-vehicle
- PUBLIC_DID_ENDPOINT=173.17.0.11:3001
- DOCKERHOST=${DOCKERHOST}
- RUST_LOG=${RUST_LOG}
- TEST_POOL_IP=${TEST_POOL_IP}
ports:
- 3001:3001
- 9221:9229
depends_on:
- pool
- tesla
networks:
services:
ipv4_address: 173.17.0.11
#
#
front-vehicle:
image: indy-agentjs
command: "bash -c 'node --inspect=0.0.0.0 ./bin/www'"
# command: "bash -c 'npm start'"
environment:
- PORT=3002
- NAME=Front-Vehicle
- PASSWORD=123
- USERNAME=front-vehicle
- PUBLIC_DID_ENDPOINT=173.17.0.22:3002
- DOCKERHOST=${DOCKERHOST}
- RUST_LOG=${RUST_LOG}
- TEST_POOL_IP=${TEST_POOL_IP}
ports:
- 3002:3002
- 9222:9229
depends_on:
- pool
- tesla
networks:
services:
ipv4_address: 173.17.0.22