rework erigon for merge
This commit is contained in:
22
erigon.yml
22
erigon.yml
@@ -2,7 +2,7 @@ version: '3.1'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
erigon-trace:
|
erigon-trace:
|
||||||
image: thorax/erigon:stable
|
image: thorax/erigon:2022.08.02-alpha
|
||||||
expose:
|
expose:
|
||||||
- "30303"
|
- "30303"
|
||||||
- "30304"
|
- "30304"
|
||||||
@@ -11,12 +11,26 @@ services:
|
|||||||
- erigon-trace:/home/erigon/.local/share/erigon
|
- erigon-trace:/home/erigon/.local/share/erigon
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
command: erigon --chain mainnet --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --private.api.addr=0.0.0.0:9090 --pprof --pprof.addr=0.0.0.0 --pprof.port=6061
|
command: >
|
||||||
|
erigon --chain mainnet
|
||||||
|
--metrics --metrics.addr=0.0.0.0 --metrics.port=6060
|
||||||
|
--private.api.addr=0.0.0.0:9090
|
||||||
|
--pprof
|
||||||
|
--pprof.addr=0.0.0.0
|
||||||
|
--pprof.port=6061
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
rpcdaemon:
|
rpcdaemon:
|
||||||
image: thorax/erigon:stable
|
image: thorax/erigon:2022.08.02-alpha
|
||||||
command: rpcdaemon --datadir=/home/erigon/.local/share/erigon --private.api.addr=erigon-trace:9090 --txpool.api.addr=erigon-trace:9090 --http.addr=0.0.0.0 --http.vhosts=* --http.corsdomain=* --http.api=eth,erigon,web3,net,debug,trace,txpool --ws
|
command: >
|
||||||
|
rpcdaemon --datadir=/home/erigon/.local/share/erigon
|
||||||
|
--private.api.addr=erigon-trace:9090
|
||||||
|
--txpool.api.addr=erigon-trace:9090
|
||||||
|
--http.addr=0.0.0.0
|
||||||
|
--http.vhosts=*
|
||||||
|
--http.corsdomain=*
|
||||||
|
--http.api=eth,erigon,web3,net,debug,trace,txpool
|
||||||
|
--ws
|
||||||
pid: service:erigon-trace # Use erigon's PID namespace. It's required to open Erigon's DB from another process (RPCDaemon local-mode)
|
pid: service:erigon-trace # Use erigon's PID namespace. It's required to open Erigon's DB from another process (RPCDaemon local-mode)
|
||||||
volumes:
|
volumes:
|
||||||
- erigon-trace:/home/erigon/.local/share/erigon
|
- erigon-trace:/home/erigon/.local/share/erigon
|
||||||
|
|||||||
Reference in New Issue
Block a user