fix
This commit is contained in:
@@ -22,8 +22,31 @@ services:
|
|||||||
- 10640:10640/udp
|
- 10640:10640/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 8551
|
command:
|
||||||
command: --goat=mainnet
|
- --datadir=/root/.ethereum
|
||||||
|
- --db.engine=leveldb
|
||||||
|
- --gcmode=archive
|
||||||
|
- --goat=mainnet
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=10640
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=hash
|
||||||
|
- --syncmode=full
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
- --authrpc.addr=0.0.0.0
|
||||||
|
- --authrpc.jwtsecret=/jwtsecret
|
||||||
|
- --authrpc.vhosts=*
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 5m
|
stop_grace_period: 5m
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -22,8 +22,31 @@ services:
|
|||||||
- 10640:10640/udp
|
- 10640:10640/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 8551
|
command:
|
||||||
command: --goat=mainnet
|
- --datadir=/root/.ethereum
|
||||||
|
- --db.engine=pebble
|
||||||
|
- --gcmode=full
|
||||||
|
- --goat=mainnet
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=10640
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=path
|
||||||
|
- --syncmode=snap
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
- --authrpc.addr=0.0.0.0
|
||||||
|
- --authrpc.jwtsecret=/jwtsecret
|
||||||
|
- --authrpc.vhosts=*
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 5m
|
stop_grace_period: 5m
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -22,8 +22,31 @@ services:
|
|||||||
- 13272:13272/udp
|
- 13272:13272/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 8551
|
command:
|
||||||
command: --goat=testnet3
|
- --datadir=/root/.ethereum
|
||||||
|
- --db.engine=leveldb
|
||||||
|
- --gcmode=archive
|
||||||
|
- --goat=testnet3
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=13272
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=hash
|
||||||
|
- --syncmode=full
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
- --authrpc.addr=0.0.0.0
|
||||||
|
- --authrpc.jwtsecret=/jwtsecret
|
||||||
|
- --authrpc.vhosts=*
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 5m
|
stop_grace_period: 5m
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -22,8 +22,31 @@ services:
|
|||||||
- 13272:13272/udp
|
- 13272:13272/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 8551
|
command:
|
||||||
command: --goat=testnet3
|
- --datadir=/root/.ethereum
|
||||||
|
- --db.engine=pebble
|
||||||
|
- --gcmode=full
|
||||||
|
- --goat=testnet3
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=13272
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=path
|
||||||
|
- --syncmode=snap
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
- --authrpc.addr=0.0.0.0
|
||||||
|
- --authrpc.jwtsecret=/jwtsecret
|
||||||
|
- --authrpc.vhosts=*
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 5m
|
stop_grace_period: 5m
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -1,13 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ ! -d "/root/.ethereum/geth/chaindata" ]; then
|
|
||||||
geth init /genesis/geth.json
|
|
||||||
else
|
|
||||||
echo "Chain already initialized."
|
|
||||||
fi
|
|
||||||
|
|
||||||
geth
|
|
||||||
root@rpc-jp-1:~/rpc# cat goat/node-entrypoint.sh
|
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Custom initialization steps go here
|
# Custom initialization steps go here
|
||||||
echo "Starting initialization steps..."
|
echo "Starting initialization steps..."
|
||||||
|
|||||||
Reference in New Issue
Block a user