half fix
This commit is contained in:
@@ -2,7 +2,8 @@ version: '3.1'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
erigon-linea:
|
erigon-linea:
|
||||||
build: ./linea/erigon
|
image: erigontech/erigon:2.60.8
|
||||||
|
user: root
|
||||||
expose:
|
expose:
|
||||||
- "51262"
|
- "51262"
|
||||||
- "9090"
|
- "9090"
|
||||||
@@ -14,8 +15,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- erigon-linea:/root/.local/share/erigon
|
- erigon-linea:/root/.local/share/erigon
|
||||||
- ./linea/shared:/configs/mainnet/shared
|
- ./linea/shared:/configs/mainnet/shared
|
||||||
|
- ./linea/erigon/scripts/entrypoint.sh:/entrypoint.sh
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
|
entrypoint: /entrypoint.sh
|
||||||
command: >
|
command: >
|
||||||
--chain=mainnet
|
--chain=mainnet
|
||||||
--networkid=59144
|
--networkid=59144
|
||||||
@@ -25,6 +28,7 @@ services:
|
|||||||
--txpool.globalslots 50000
|
--txpool.globalslots 50000
|
||||||
--txpool.pricelimit 1000000000
|
--txpool.pricelimit 1000000000
|
||||||
--txpool.nolocals
|
--txpool.nolocals
|
||||||
|
--nat=stun
|
||||||
--snapshots=false
|
--snapshots=false
|
||||||
--port=30319
|
--port=30319
|
||||||
--bootnodes=enode://ca2f06aa93728e2883ff02b0c2076329e475fe667a48035b4f77711ea41a73cf6cb2ff232804c49538ad77794185d83295b57ddd2be79eefc50a9dd5c48bbb2e@3.128.49.168:30303,enode://eef91d714494a1ceb6e06e5ce96fe5d7d25d3701b2d2e68c042b33d5fa0e4bf134116e06947b3f40b0f22db08f104504dd2e5c790d8bcbb6bfb1b7f4f85313ec@3.130.182.201:30303,enode://cfd472842582c422c7c98b0f2d04c6bf21d1afb2c767f72b032f7ea89c03a7abdaf4855b7cb2dc9ae7509836064ba8d817572cf7421ba106ac87857836fa1d1b@3.136.114.192:30303
|
--bootnodes=enode://ca2f06aa93728e2883ff02b0c2076329e475fe667a48035b4f77711ea41a73cf6cb2ff232804c49538ad77794185d83295b57ddd2be79eefc50a9dd5c48bbb2e@3.128.49.168:30303,enode://eef91d714494a1ceb6e06e5ce96fe5d7d25d3701b2d2e68c042b33d5fa0e4bf134116e06947b3f40b0f22db08f104504dd2e5c790d8bcbb6bfb1b7f4f85313ec@3.130.182.201:30303,enode://cfd472842582c422c7c98b0f2d04c6bf21d1afb2c767f72b032f7ea89c03a7abdaf4855b7cb2dc9ae7509836064ba8d817572cf7421ba106ac87857836fa1d1b@3.136.114.192:30303
|
||||||
@@ -39,10 +43,10 @@ services:
|
|||||||
--http.addr=0.0.0.0
|
--http.addr=0.0.0.0
|
||||||
--http.vhosts=*
|
--http.vhosts=*
|
||||||
--http.corsdomain=*
|
--http.corsdomain=*
|
||||||
--http.api=eth,erigon,web3,net,debug,trace,txpool
|
--http.api=eth,erigon,web3,net,debug,trace,txpool,admin
|
||||||
--rpc.returndata.limit=1000000
|
--rpc.returndata.limit=1000000
|
||||||
--rpc.gascap=5000000000
|
--rpc.gascap=5000000000
|
||||||
--ws
|
--ws
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
1
linea/erigon/scripts/entrypoint.sh
Normal file → Executable file
1
linea/erigon/scripts/entrypoint.sh
Normal file → Executable file
@@ -10,6 +10,7 @@ then
|
|||||||
echo "write the custom genesis block"
|
echo "write the custom genesis block"
|
||||||
mkdir -p ${ERIGON_HOME:-/root/.local/share/erigon}
|
mkdir -p ${ERIGON_HOME:-/root/.local/share/erigon}
|
||||||
erigon init --datadir ${ERIGON_HOME:-/root/.local/share/erigon} /configs/mainnet/shared/genesis.json
|
erigon init --datadir ${ERIGON_HOME:-/root/.local/share/erigon} /configs/mainnet/shared/genesis.json
|
||||||
|
touch "${ERIGON_HOME}/bootstrapped"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec erigon $@
|
exec erigon $@
|
||||||
|
|||||||
Reference in New Issue
Block a user