updates
This commit is contained in:
@@ -1,12 +1,15 @@
|
|||||||
version: '3.1'
|
version: '3.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
erigon-trace:
|
erigon-goerli:
|
||||||
image: thorax/erigon:v2022.10.01
|
image: thorax/erigon:v2022.10.01
|
||||||
expose:
|
expose:
|
||||||
- "30303"
|
- "21766"
|
||||||
- "30304"
|
|
||||||
- "9090"
|
- "9090"
|
||||||
|
- "8545"
|
||||||
|
ports:
|
||||||
|
- "21766:21766"
|
||||||
|
- "21766:21766/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- erigon-trace:/home/erigon/.local/share/erigon
|
- erigon-trace:/home/erigon/.local/share/erigon
|
||||||
- .jwtsecret:/jwtsecret
|
- .jwtsecret:/jwtsecret
|
||||||
@@ -19,42 +22,25 @@ services:
|
|||||||
--pprof
|
--pprof
|
||||||
--pprof.addr=0.0.0.0
|
--pprof.addr=0.0.0.0
|
||||||
--pprof.port=6061
|
--pprof.port=6061
|
||||||
|
--port=21766
|
||||||
--authrpc.addr=0.0.0.0
|
--authrpc.addr=0.0.0.0
|
||||||
--authrpc.vhosts=*
|
--authrpc.vhosts=*
|
||||||
--authrpc.jwtsecret=/jwtsecret
|
--authrpc.jwtsecret=/jwtsecret
|
||||||
--snapshots=true
|
--snapshots=true
|
||||||
--torrent.download.rate=1250mb
|
--torrent.download.rate=1250mb
|
||||||
--torrent.upload.rate=1250mb
|
--torrent.upload.rate=1250mb
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 1m
|
|
||||||
labels:
|
|
||||||
- "prometheus-scrape.enabled=true"
|
|
||||||
- "prometheus-scrape.port=6060"
|
|
||||||
- "prometheus-scrape.job_name=erigon"
|
|
||||||
- "prometheus-scrape.metrics_path=/debug/metrics/prometheus"
|
|
||||||
|
|
||||||
rpcdaemon:
|
|
||||||
image: thorax/erigon:v2022.10.01
|
|
||||||
command: >
|
|
||||||
rpcdaemon --datadir=/home/erigon/.local/share/erigon/goerli
|
|
||||||
--private.api.addr=erigon-trace:9090
|
|
||||||
--txpool.api.addr=erigon-trace:9090
|
|
||||||
--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
|
||||||
--ws
|
--ws
|
||||||
pid: service:erigon-trace # Use erigon's PID namespace. It's required to open Erigon's DB from another process (RPCDaemon local-mode)
|
|
||||||
volumes:
|
|
||||||
- erigon-trace:/home/erigon/.local/share/erigon
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
expose:
|
|
||||||
- "8545"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
stop_grace_period: 1m
|
||||||
- "erigon-trace"
|
|
||||||
labels:
|
labels:
|
||||||
|
- "prometheus-scrape.enabled=true"
|
||||||
|
- "prometheus-scrape.port=6060"
|
||||||
|
- "prometheus-scrape.job_name=erigon-goerli"
|
||||||
|
- "prometheus-scrape.metrics_path=/debug/metrics/prometheus"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.middlewares.rpcdaemon-stripprefix.stripprefix.prefixes=/erigon-goerli"
|
- "traefik.http.middlewares.rpcdaemon-stripprefix.stripprefix.prefixes=/erigon-goerli"
|
||||||
- "traefik.http.services.rpcdaemon.loadbalancer.server.port=8545"
|
- "traefik.http.services.rpcdaemon.loadbalancer.server.port=8545"
|
||||||
@@ -63,11 +49,15 @@ services:
|
|||||||
- "traefik.http.routers.rpcdaemon.rule=Host(`$DOMAIN`) && PathPrefix(`/erigon-goerli`)"
|
- "traefik.http.routers.rpcdaemon.rule=Host(`$DOMAIN`) && PathPrefix(`/erigon-goerli`)"
|
||||||
- "traefik.http.routers.rpcdaemon.middlewares=rpcdaemon-stripprefix, ipwhitelist"
|
- "traefik.http.routers.rpcdaemon.middlewares=rpcdaemon-stripprefix, ipwhitelist"
|
||||||
|
|
||||||
lighthouse:
|
lighthouse-goerli:
|
||||||
image: sigp/lighthouse:latest-modern
|
image: sigp/lighthouse:latest-modern
|
||||||
|
expose:
|
||||||
|
- "5054" #metrics
|
||||||
|
- "4000" #http
|
||||||
|
- "63550" #p2p
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "63550:63550"
|
||||||
- "127.0.0.1:5052:5052"
|
- "63550:63550/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- .jwtsecret:/jwtsecret
|
- .jwtsecret:/jwtsecret
|
||||||
- lighthouse_data:/root/.lighthouse
|
- lighthouse_data:/root/.lighthouse
|
||||||
@@ -75,21 +65,31 @@ services:
|
|||||||
lighthouse beacon_node
|
lighthouse beacon_node
|
||||||
--network prater
|
--network prater
|
||||||
--reconstruct-historic-states
|
--reconstruct-historic-states
|
||||||
--execution-endpoint http://erigon-trace:8551
|
--execution-endpoint http://erigon-goerli:8551
|
||||||
--execution-jwt /jwtsecret
|
--execution-jwt /jwtsecret
|
||||||
|
--port 63550
|
||||||
--http
|
--http
|
||||||
--http-address=0.0.0.0
|
--http-address=0.0.0.0
|
||||||
|
--http-port=4000
|
||||||
|
--metrics
|
||||||
|
--metrics-port=5054
|
||||||
|
--metrics-address=0.0.0.0
|
||||||
|
--checkpoint-sync-url https://prater.checkpoint.sigp.io
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
labels:
|
labels:
|
||||||
|
- "prometheus-scrape.enabled=true"
|
||||||
|
- "prometheus-scrape.port=5054"
|
||||||
|
- "prometheus-scrape.job_name=lighthouse-goerli"
|
||||||
|
- "prometheus-scrape.metrics_path=/metrics"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.middlewares.lighthouse-stripprefix.stripprefix.prefixes=/lighthouse"
|
- "traefik.http.middlewares.lighthouse-stripprefix.stripprefix.prefixes=/lighthouse-goerli"
|
||||||
- "traefik.http.services.lighthouse.loadbalancer.server.port=5052"
|
- "traefik.http.services.lighthouse.loadbalancer.server.port=4000"
|
||||||
- "traefik.http.routers.lighthouse.entrypoints=websecure"
|
- "traefik.http.routers.lighthouse.entrypoints=websecure"
|
||||||
- "traefik.http.routers.lighthouse.tls.certresolver=myresolver"
|
- "traefik.http.routers.lighthouse.tls.certresolver=myresolver"
|
||||||
- "traefik.http.routers.lighthouse.rule=Host(`$DOMAIN`) && PathPrefix(`/lighthouse`)"
|
- "traefik.http.routers.lighthouse.rule=Host(`$DOMAIN`) && PathPrefix(`/lighthouse-goerli`)"
|
||||||
- "traefik.http.routers.lighthouse.middlewares=lighthouse-stripprefix, ipwhitelist"
|
- "traefik.http.routers.lighthouse.middlewares=lighthouse-stripprefix, ipwhitelist"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ services:
|
|||||||
--eth1-endpoints http://erigon-trace:8545
|
--eth1-endpoints http://erigon-trace:8545
|
||||||
--execution-endpoint http://erigon-trace:8551
|
--execution-endpoint http://erigon-trace:8551
|
||||||
--execution-jwt /jwtsecret
|
--execution-jwt /jwtsecret
|
||||||
|
--checkpoint-sync-url https://mainnet.checkpoint.sigp.io
|
||||||
--http
|
--http
|
||||||
--http-address=0.0.0.0
|
--http-address=0.0.0.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ version: '3.1'
|
|||||||
services:
|
services:
|
||||||
xdai-archive:
|
xdai-archive:
|
||||||
hostname: xdai-archive
|
hostname: xdai-archive
|
||||||
container_name: xdai-archive
|
|
||||||
image: nethermindeth/nethermind:db-traces
|
image: nethermindeth/nethermind:db-traces
|
||||||
restart: always
|
restart: always
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
@@ -23,10 +22,8 @@ services:
|
|||||||
--TraceStore.TraceTypes=Trace,Rewards
|
--TraceStore.TraceTypes=Trace,Rewards
|
||||||
--Sync.FastSync=false
|
--Sync.FastSync=false
|
||||||
ports:
|
ports:
|
||||||
- '30303:30303/tcp' # p2p
|
- '10652:10652/tcp' # p2p
|
||||||
- '30303:30303/udp' # p2p
|
- '10652:10652/udp' # p2p
|
||||||
- '127.0.0.1:8545:8545'
|
|
||||||
- '127.0.0.1:9091:9091'
|
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
@@ -40,31 +37,36 @@ services:
|
|||||||
- NETHERMIND_CONFIG=xdai_archive
|
- NETHERMIND_CONFIG=xdai_archive
|
||||||
- NETHERMIND_JSONRPCCONFIG_ENGINEENABLEDMODULES=[Eth,AccountAbstraction,Subscribe,TxPool,Web3,Personal,Proof,Net,Parity,Health,Trace]
|
- NETHERMIND_JSONRPCCONFIG_ENGINEENABLEDMODULES=[Eth,AccountAbstraction,Subscribe,TxPool,Web3,Personal,Proof,Net,Parity,Health,Trace]
|
||||||
- NETHERMIND_METRICSCONFIG_EXPOSEPORT=9091
|
- NETHERMIND_METRICSCONFIG_EXPOSEPORT=9091
|
||||||
|
- NETHERMIND_NETWORKCONFIG_P2PPORT=10652
|
||||||
- NETHERMIND_NETWORKCONFIG_MAXACTIVEPEERS=150
|
- NETHERMIND_NETWORKCONFIG_MAXACTIVEPEERS=150
|
||||||
logging:
|
logging:
|
||||||
options:
|
options:
|
||||||
max-size: "1000m"
|
max-size: "1000m"
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.middlewares.xdai-archive-stripprefix.stripprefix.prefixes=/xdai-archive"
|
- "traefik.http.middlewares.xdai-archive-stripprefix.stripprefix.prefixes=/gnosis-archive"
|
||||||
- "traefik.http.services.xdai-archive.loadbalancer.server.port=8545"
|
- "traefik.http.services.xdai-archive.loadbalancer.server.port=8545"
|
||||||
- "traefik.http.routers.xdai-archive.entrypoints=websecure"
|
- "traefik.http.routers.xdai-archive.entrypoints=websecure"
|
||||||
- "traefik.http.routers.xdai-archive.tls.certresolver=myresolver"
|
- "traefik.http.routers.xdai-archive.tls.certresolver=myresolver"
|
||||||
- "traefik.http.routers.xdai-archive.rule=Host(`$DOMAIN`) && PathPrefix(`/xdai-archive`)"
|
- "traefik.http.routers.xdai-archive.rule=Host(`$DOMAIN`) && PathPrefix(`/gnosis-archive`)"
|
||||||
- "traefik.http.routers.xdai-archive.middlewares=xdai-archive-stripprefix, ipwhitelist"
|
- "traefik.http.routers.xdai-archive.middlewares=xdai-archive-stripprefix, ipwhitelist"
|
||||||
|
- "prometheus-scrape.enabled=true"
|
||||||
|
- "prometheus-scrape.port=9091"
|
||||||
|
- "prometheus-scrape.job_name=nethermind-xdai"
|
||||||
|
|
||||||
xdai_consensus:
|
|
||||||
container_name: xdai_consensus
|
lighthouse-gnosis:
|
||||||
image: sigp/lighthouse:latest-modern
|
image: sigp/lighthouse:latest-modern
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
ports:
|
ports:
|
||||||
- 9001:9001/tcp # p2p
|
- 46763:46763/tcp # p2p
|
||||||
- 9001:9001/udp # p2p
|
- 46763:46763/udp # p2p
|
||||||
expose:
|
expose:
|
||||||
- 5054 # metrics
|
- 5054 # metrics
|
||||||
- 4000 # http
|
- 4000 # http
|
||||||
|
- 46763 # p2p
|
||||||
volumes:
|
volumes:
|
||||||
- xdai_consensus:/data
|
- xdai_consensus:/data
|
||||||
- .jwtsecret:/jwt.hex
|
- .jwtsecret:/jwt.hex
|
||||||
@@ -76,7 +78,7 @@ services:
|
|||||||
--network=gnosis
|
--network=gnosis
|
||||||
--disable-upnp
|
--disable-upnp
|
||||||
--datadir=/data
|
--datadir=/data
|
||||||
--port=9001
|
--port=46763
|
||||||
--http
|
--http
|
||||||
--http-address=0.0.0.0
|
--http-address=0.0.0.0
|
||||||
--http-port=4000
|
--http-port=4000
|
||||||
@@ -91,6 +93,19 @@ services:
|
|||||||
--metrics-port=5054
|
--metrics-port=5054
|
||||||
--metrics-address=0.0.0.0
|
--metrics-address=0.0.0.0
|
||||||
--checkpoint-sync-url=https://checkpoint.gnosischain.com/
|
--checkpoint-sync-url=https://checkpoint.gnosischain.com/
|
||||||
|
labels:
|
||||||
|
- "prometheus-scrape.enabled=true"
|
||||||
|
- "prometheus-scrape.port=5054"
|
||||||
|
- "prometheus-scrape.job_name=lighthouse-gnosis"
|
||||||
|
- "prometheus-scrape.metrics_path=/metrics"
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.middlewares.lighthouse-gnosis-stripprefix.stripprefix.prefixes=/lighthouse-gnosis"
|
||||||
|
- "traefik.http.services.lighthouse-gnosis.loadbalancer.server.port=4000"
|
||||||
|
- "traefik.http.routers.lighthouse-gnosis.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.lighthouse-gnosis.tls.certresolver=myresolver"
|
||||||
|
- "traefik.http.routers.lighthouse-gnosis.rule=Host(`$DOMAIN`) && PathPrefix(`/lighthouse-gnosis`)"
|
||||||
|
- "traefik.http.routers.lighthouse-gnosis.middlewares=lighthouse-gnosis-stripprefix, ipwhitelist"
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
nethermind_db:
|
nethermind_db:
|
||||||
|
|||||||
Reference in New Issue
Block a user