forked from newton-blockchain/general-ton-node
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
50 lines (46 loc) · 1.23 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
version: '3'
services:
genesis:
container_name: genesis
image: ton-private-network
environment:
- PUBLIC_IP=172.28.1.1
- CONSOLE_PORT=4444
- PUBLIC_PORT=4444
- GENESIS=1
- DHT_PORT=6302
networks:
testing_net:
ipv4_address: 172.28.1.1
node_2:
container_name: node_2
image: ton-private-network
environment:
- PUBLIC_IP=172.28.1.2
- CONSOLE_PORT=4444
- PUBLIC_PORT=4444
- CONFIG=genesis:8000/my-ton-global.config.json
depends_on:
- genesis
networks:
testing_net:
ipv4_address: 172.28.1.2
node_3:
container_name: node_3
image: ton-private-network
environment:
- PUBLIC_IP=172.28.1.3
- CONSOLE_PORT=4444
- PUBLIC_PORT=4444
- CONFIG=genesis:8000/my-ton-global.config.json
depends_on:
- genesis
networks:
testing_net:
ipv4_address: 172.28.1.3
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16