-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
34 lines (32 loc) · 1.03 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
version: '2'
services:
node1:
image: cynical-chain:1
environment:
- JAVA_OPTS=-Dblockchain.nodeName=node1 -Dakka.remote.netty.tcp.hostname=node1
ports:
- "9000:9000"
node2:
image: cynical-chain:1
links:
- node1:node1
environment:
- JAVA_OPTS=-Dblockchain.nodeName=node2 -Dblockchain.seedHost=akka.tcp://BlockChain@node1:2552/user/peerToPeerActor
ports:
- "9001:9000"
node3:
image: cynical-chain:1
links:
- node1:node1
environment:
- JAVA_OPTS=-Dblockchain.nodeName=node3 -Dblockchain.seedHost=akka.tcp://BlockChain@node1:2552/user/peerToPeerActor
ports:
- "9002:9000"
node4:
image: cynical-chain:1
links:
- node1:node1
environment:
- JAVA_OPTS=-Dblockchain.nodeName=node4 -Dblockchain.seedHost=akka.tcp://BlockChain@node1:2552/user/peerToPeerActor
ports:
- "9003:9000"