forked from hyperledger-archives/aries-framework-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
56 lines (53 loc) · 1.15 KB
/
docker-compose.yaml
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
version: '3'
services:
indy-pool:
build:
context: .
dockerfile: docker/indy-pool.dockerfile
args:
pool_ip: 10.0.0.10
ports:
- "9701-9709:9701-9709"
networks:
agent_net:
ipv4_address: 10.0.0.10
web-agent-1:
build:
context: .
dockerfile: docker/web-agent.dockerfile
environment:
- ASPNETCORE_URLS=http://10.0.0.11:7000
- ASPNETCORE_ENVIRONMENT=Development
- ENDPOINT_HOST=${HOST1:-http://10.0.0.11:7000}
ports:
- "7000:7000"
depends_on:
- "indy-pool"
links:
- "indy-pool"
networks:
agent_net:
ipv4_address: 10.0.0.11
web-agent-2:
build:
context: .
dockerfile: docker/web-agent.dockerfile
environment:
- ASPNETCORE_URLS=http://10.0.0.12:8000
- ASPNETCORE_ENVIRONMENT=Development
- ENDPOINT_HOST=${HOST2:-http://10.0.0.12:8000}
ports:
- "8000:8000"
depends_on:
- "indy-pool"
links:
- "indy-pool"
networks:
agent_net:
ipv4_address: 10.0.0.12
networks:
agent_net:
driver: bridge
ipam:
config:
- subnet: 10.0.0.0/16