forked from hwwhww/docker-pyeth-dev
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 815 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 815 Bytes
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
version: "3"
services:
bootstrap:
container_name: bootstrap
build: "./bootstrap"
image: localethereum/pyethapp-bootstrap
restart: always
networks:
back:
ipv4_address: 172.18.250.2
miner:
container_name: miner
build: "./miner"
image: localethereum/pyethapp-miner
environment:
- BOOTSTRAP_NODE=enode://d3260a710a752b926bb3328ebe29bfb568e4fb3b4c7ff59450738661113fb21f5efbdf42904c706a9f152275890840345a5bc990745919eeb2dfc2c481d778ee@172.18.250.2:30303
- MINE_PERCENT=50
- SLEEPTIME=1
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