-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
65 lines (62 loc) · 1.26 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
55
56
57
58
59
60
61
62
63
64
65
version: "3"
# networks:
# default:
# external:
# name: external
services:
bsc_mainnet:
build:
context: .
args:
- bsc_branch=v1.1.0-beta
container_name: bsc_mainnet
hostname: bsc_mainnet
restart: unless-stopped
environment:
- NETWORK=mainnet
ports:
- "8575:8575"
- "8547:8547" # Websocket
- "8576:8576"
- "8577:8577"
- "30311:30311/udp"
- "30311:30311"
volumes:
- ./node/:/root/.ethereum/
stop_signal: SIGINT
stop_grace_period: 2m
command:
- /bootstrap.sh
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
bsc_testnet:
build:
context: .
args:
- bsc_branch=v1.0.7-ht.3
container_name: bsc_testnet
hostname: bsc_testnet
restart: unless-stopped
environment:
- NETWORK=testnet
ports:
- "8585:8575"
- "8557:8547" # Websocket
- "8586:8576"
- "8587:8577"
- "30211:30311/udp"
- "30211:30311"
volumes:
- ./node-testnet/:/root/.ethereum/
stop_signal: SIGINT
stop_grace_period: 2m
command:
- /bootstrap.sh
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"