-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.light-client.yml
59 lines (56 loc) · 1.38 KB
/
docker-compose.light-client.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
version: '3.7'
services:
geth-light-client:
command: |
geth
--cache 4096
--graphql
--graphql.addr 0.0.0.0
--graphql.corsdomain '*'
--graphql.vhosts '*'
--maxpeers 100
--metrics
--metrics.expensive
--nousb
--port 9303
--pprof
--pprofaddr 0.0.0.0
--rpc
--rpcaddr 0.0.0.0
--rpcapi admin,debug,eth,mining,net,personal,txpool,web3b
--rpccorsdomain '*'
--rpcport 9545
--rpcvhosts '*'
--syncmode light
--txpool.pricelimit 0
--txpool.accountslots 100
--txpool.globalslots 100000
--txpool.accountqueue 200
--txpool.globalqueue 100000
--ws
--wsaddr 0.0.0.0
--wsapi admin,debug,eth,net,personal,txpool
--wsorigins '*'
image: ethereum/client-go:alltools-v1.9.17
ports:
- "9545:9545" # rpc
- "9546:8546" # websocket
- "9547:8547" # graphql
- "9060:8060" # pprof
- "9303:9303" # network
restart: always
openethereum-light-client:
command: |
--no-download
--light
--port 9303
--jsonrpc-interface=all
--jsonrpc-port=9545
image: openethereum/openethereum:latest
ports:
- "9545:9545" # rpc
- "9546:8546" # websocket
- "9547:8547" # graphql
- "9060:8060" # pprof
- "9303:9303" # network
restart: always