-
Notifications
You must be signed in to change notification settings - Fork 28
/
docker-compose.default.yml
72 lines (70 loc) · 1.71 KB
/
docker-compose.default.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: '2'
services:
bootstrap:
container_name: bootstrap
image: localethereum/pyethapp-dev
command: ["/sbin/init"]
ports:
- 40002:30303
- 40002:30303/udp
- 41002:8545
volumes:
- pyeth-data-volume:/pyeth
- ./data/bootstrap/config:/root/.config/pyethapp
- ./data/bootstrap/log:/root/log
restart: always
networks:
back:
ipv4_address: 172.18.250.2
miner:
container_name: miner
image: localethereum/pyethapp-dev
command: ["/sbin/init"]
ports:
- 40003:30303
- 40003:30303/udp
- 41003:8545
volumes:
- pyeth-data-volume:/pyeth
- ./data/miner/config:/root/.config/pyethapp
- ./data/miner/log:/root/log
restart: always
networks:
back:
ipv4_address: 172.18.250.3
# [Note] For testing Python2, remember to build localethereum/pyethapp-dev27
# miner-py27:
# container_name: miner-py27
# image: localethereum/pyethapp-dev27
# command: "/sbin/init"
# ports:
# - 40004:30303
# - 40004:30303/udp
# - 41004:8545
# links:
# - bootstrap
# volumes:
# - pyeth-data-volume:/pyeth
# - ./data/miner-py27/config:/root/.config/pyethapp
# - ./data/miner-py27/log:/root/log
# 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
gateway: 172.18.250.1
volumes:
pyeth-data-volume:
driver: local
driver_opts:
type: none
device: 'DOCKER_PYETH_DEV_REPO_ABSOLUTE_PATH/share_data'
o: bind