forked from karlfloersch/docker-pyeth-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (54 loc) · 1.51 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
version: "3"
services:
bootstrap:
container_name: bootstrap
build: "./bootstrap"
image: localethereum/pyethapp-bootstrap
ports:
- 40002:30303
- 40002:30303/udp
- 41002:8545
restart: always
networks:
back:
ipv4_address: 172.18.250.2
validator:
container_name: validator
build: "./validator"
image: localethereum/pyethapp-validator
environment:
- BOOTSTRAP_NODE=enode://d3260a710a752b926bb3328ebe29bfb568e4fb3b4c7ff59450738661113fb21f5efbdf42904c706a9f152275890840345a5bc990745919eeb2dfc2c481d778ee@172.18.250.2:30303
- BOOTSTRAP_NODE_URI=http://172.18.250.2:8545
- FAUCET_PRIVKEY=87f97f6a4d97ab0d26c2949fb6456bc3961e339502be389cb284aa0b67f8b2bf
- SLEEPTIME=30
ports:
- 40003:30303
- 40003:30303/udp
- 41003:8545
restart: always
networks:
back:
ipv4_address: 172.18.250.3
miner:
container_name: miner
build: "./miner"
image: localethereum/pyethapp-miner
environment:
- BOOTSTRAP_NODE=enode://d3260a710a752b926bb3328ebe29bfb568e4fb3b4c7ff59450738661113fb21f5efbdf42904c706a9f152275890840345a5bc990745919eeb2dfc2c481d778ee@172.18.250.2:30303
ports:
- 40004:30303
- 40004:30303/udp
- 41004:8545
restart: always
networks:
back:
ipv4_address: 172.18.250.4
networks:
back:
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "false"
ipam:
driver: default
config:
- subnet: 172.18.250.0/24