start with reth and prysm
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
version: '3.1'
|
version: '3.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
reth-mainnet:
|
mainnet-reth:
|
||||||
image: ghcr.io/paradigmxyz/reth:v0.1.0-alpha.10
|
image: ghcr.io/paradigmxyz/reth:v0.1.0-alpha.10
|
||||||
user: root
|
user: root
|
||||||
volumes:
|
volumes:
|
||||||
- "reth-mainnet:/datadir"
|
- "reth-mainnet:/root/.local/share/reth/mainnet/db"
|
||||||
|
- ".jwtsecret:/jwtsecret"
|
||||||
expose:
|
expose:
|
||||||
- 44169
|
- 44169
|
||||||
- 8545
|
- 8545
|
||||||
@@ -14,7 +15,7 @@ services:
|
|||||||
- "44169:44169"
|
- "44169:44169"
|
||||||
- "44169:44169/udp"
|
- "44169:44169/udp"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: node --metrics 0.0.0.0:9001 --http.addr 0.0.0.0 --http.port 8545 --ws --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*' --port 44169 --discovery.port 44169 --chain mainnet
|
command: node --chain mainnet --full --metrics 0.0.0.0:9001 --http --http.addr 0.0.0.0 --http.port 8545 --ws --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*' --port 44169 --discovery.port 44169 --authrpc.addr 0.0.0.0 --authrpc.jwtsecret /jwtsecret --http.api "debug,eth,net,trace,txpool,web3,rpc,reth" --ws.api "debug,eth,net,trace,txpool,web3,rpc,reth" --http.corsdomain '*'
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
labels:
|
labels:
|
||||||
- "prometheus-scrape.enabled=true"
|
- "prometheus-scrape.enabled=true"
|
||||||
@@ -31,5 +32,34 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
|
|
||||||
|
mainnet-prysm-reth:
|
||||||
|
image: prysmaticlabs/prysm-beacon-chain:stable
|
||||||
|
ports:
|
||||||
|
#- "127.0.0.1:3500:3500"
|
||||||
|
- "36997:36997"
|
||||||
|
- "36997:36997/udp"
|
||||||
|
command:
|
||||||
|
[
|
||||||
|
"--datadir=/data",
|
||||||
|
"--mainnet",
|
||||||
|
"--jwt-secret=/jwtsecret",
|
||||||
|
"--rpc-host=0.0.0.0",
|
||||||
|
"--grpc-gateway-host=0.0.0.0",
|
||||||
|
"--monitoring-host=0.0.0.0",
|
||||||
|
"--p2p-tcp-port=36997",
|
||||||
|
"--p2p-udp-port=36997",
|
||||||
|
"--checkpoint-sync-url=https://mainnet-checkpoint-sync.stakely.io",
|
||||||
|
"--execution-endpoint=http://mainnet-reth:8551",
|
||||||
|
"--accept-terms-of-use"
|
||||||
|
]
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- "prysm-reth-mainnet:/data"
|
||||||
|
- ".jwtsecret:/jwtsecret"
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 1m
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
reth-mainnet:
|
reth-mainnet:
|
||||||
|
prysm-reth-mainnet:
|
||||||
|
|||||||
Reference in New Issue
Block a user