From 50e02cbc8629531c010869580f893a94864d98a2 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Sat, 25 Nov 2023 09:05:00 +0530 Subject: [PATCH] add env.sample.mainnet --- .env.sample | 8 +-- .env.sample.mainnet | 120 ++++++++++++++++++++++++++++++++++++++++++++ docker-compose.yml | 6 +-- 3 files changed, 128 insertions(+), 6 deletions(-) create mode 100644 .env.sample.mainnet diff --git a/.env.sample b/.env.sample index d25d69c..53d4672 100644 --- a/.env.sample +++ b/.env.sample @@ -9,7 +9,7 @@ ######### Geth Config ######### -# Geth docker container image version, e.g. `latest` or `v1.12.2`. +# Geth docker container image version, e.g. `latest` or `v1.13.5`. # See available tags https://hub.docker.com/r/ethereum/client-go/tags #GETH_VERSION= @@ -26,6 +26,7 @@ #LIGHTHOUSE_PORT_P2P= # Checkpoint sync url used by lighthouse to fast sync. +# See available options https://eth-clients.github.io/checkpoint-sync-endpoints/. #LIGHTHOUSE_CHECKPOINT_SYNC_URL= ######### Lodestar Config ######### @@ -69,10 +70,11 @@ ######### MEV-Boost Config ######### -# MEV-Boost docker container image version, e.g. `latest` or `1.5.0`. +# MEV-Boost docker container image version, e.g. `latest` or `1.6`. #MEVBOOST_VERSION= -# Comma separated list of MEV-Boost relays. You can choose public relays from https://research.lido.fi/t/lido-on-ethereum-call-for-relay-providers/2844. +# Comma separated list of MEV-Boost relays. +# You can choose public relays from https://enchanted-direction-844.notion.site/6d369eb33f664487800b0dedfe32171e?v=d255247c822c409f99c498aeb6a4e51d. #MEVBOOST_RELAYS= ######### Monitoring Config ######### diff --git a/.env.sample.mainnet b/.env.sample.mainnet new file mode 100644 index 0000000..96582a2 --- /dev/null +++ b/.env.sample.mainnet @@ -0,0 +1,120 @@ +# This is a sample environment file that allows overriding default configuration defined +# in docker-compose.yml. Rename this file to `.env` and then uncomment and set any variable below. + +# Overrides network for all the relevant services. +NETWORK=mainnet + +# Enables builder api for lodestar VC and charon services. +#BUILDER_API_ENABLED= + +######### Geth Config ######### + +# Geth docker container image version, e.g. `latest` or `v1.13.5`. +# See available tags https://hub.docker.com/r/ethereum/client-go/tags +#GETH_VERSION= + +# Geth host exposed ports +#GETH_PORT_P2P= + +######### Lighthouse Config ######### + +# Lighthouse beacon node docker container image version, e.g. `latest` or `v4.5.0`. +# See available tags https://hub.docker.com/r/sigp/lighthouse/tags. +#LIGHTHOUSE_VERSION= + +# Lighthouse beacon node host exposed ports +#LIGHTHOUSE_PORT_P2P= + +# Checkpoint sync url used by lighthouse to fast sync. +# See available options https://eth-clients.github.io/checkpoint-sync-endpoints/. +LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://mainnet.checkpoint.sigp.io/ + +######### Lodestar Config ######### + +# Lodestar validator client docker container image version, e.g. `latest` or `v1.8.0`. +# See available tags https://hub.docker.com/r/chainsafe/lodestar/tags +#LODESTAR_VERSION= + +# Override prometheus metrics port for lodestar validator client. +#LODESTAR_PORT_METRICS= + +######### Charon Config ######### + +# Charon docker container image version, e.g. `latest` or `v0.17.2`. +# See available tags https://hub.docker.com/r/obolnetwork/charon/tags. +#CHARON_VERSION= + +# Define custom relays. One or more ENRs or an http URL that return an ENR. Use a comma separated list excluding spaces. +#CHARON_P2P_RELAYS= + +# Connect to one or more external beacon nodes. Use a comma separated list excluding spaces. +#CHARON_BEACON_NODE_ENDPOINTS= + +# Override the charon logging level; debug, info, warning, error. +#CHARON_LOG_LEVEL= + +# Override the charon logging format; console, logfmt, json. Grafana panels require logfmt. +#CHARON_LOG_FORMAT= + +# Advertise a custom external DNS hostname or IP address for libp2p peer discovery. +#CHARON_P2P_EXTERNAL_HOSTNAME= + +# Loki log aggregation server addresses. Disable loki log aggregation by setting an empty address. +#CHARON_LOKI_ADDRESSES= + +# Docker network of running charon node. See `docker network ls`. +#CHARON_DOCKER_NETWORK= + +# Charon host exposed ports +#CHARON_PORT_P2P_TCP= + +######### MEV-Boost Config ######### + +# MEV-Boost docker container image version, e.g. `latest` or `1.6`. +#MEVBOOST_VERSION= + +# Comma separated list of MEV-Boost relays. +# You can choose public mainnet relays from https://enchanted-direction-844.notion.site/6d369eb33f664487800b0dedfe32171e?v=d255247c822c409f99c498aeb6a4e51d. +MEVBOOST_RELAYS=https://0xac6e77dfe25ecd6110b8e780608cce0dab71fdd5ebea22a16c0205200f2f8e2e3ad3b71d3499c54ad14d6c21b41a37ae@boost-relay.flashbots.net + +######### Monitoring Config ######### + +# Grafana docker container image version, e.g. `latest` or `9.4.3`. +# See available tags https://github.com/grafana/grafana/releases. +#GRAFANA_VERSION= + +# Grafana host exposed port +#MONITORING_PORT_GRAFANA= + +# Prometheus docker container image version, e.g. `latest` or `v2.42.0`. +# See available tags https://github.com/prometheus/prometheus/releases. +#PROMETHEUS_VERSION= + +######### Voluntary Exit Config ######### + +# This applies to compose-voluntary-exit.yml only + +# Cluster wide consistent exit epoch. Set to latest for fork version, see `curl $BEACON_NODE/eth/v1/config/fork_schedule` +#EXIT_EPOCH= + +######### Debug Config ######### + +# This applies to compose-debug.yml only + +# Prometheus Node exporter docker container image version, e.g. `latest` or `1.5.0`. +# See available tags https://hub.docker.com/r/bitnami/node-exporter/tags. +#NODE_EXPORTER_VERSION= + +# Jaeger docker container image version, e.g. `latest` or `1.42.0`. +# See available tags https://hub.docker.com/r/jaegertracing/all-in-one/tags. +#JAEGER_VERSION= + +# Jaeger host exposed port for HTTP query. +#MONITORING_PORT_JAEGER= + +# Grafana Loki docker container image version, e.g. `latest` or `2.8.2`. +# See available tags https://hub.docker.com/r/grafana/loki/tags. +#LOKI_VERSION= + +# Loki host exposed port +#MONITORING_PORT_LOKI= \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 8f76d88..12688b1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: # |___/ geth: - image: ethereum/client-go:${GETH_VERSION:-v1.13.4} + image: ethereum/client-go:${GETH_VERSION:-v1.13.5} ports: - ${GETH_PORT_P2P:-30303}:30303/tcp # P2P TCP - ${GETH_PORT_P2P:-30303}:30303/udp # P2P UDP @@ -104,7 +104,7 @@ services: # |_|\___/ \__,_|\___||___/\__\__,_|_| lodestar: - image: chainsafe/lodestar:${LODESTAR_VERSION:-v1.11.3} + image: chainsafe/lodestar:${LODESTAR_VERSION:-v1.12.0} depends_on: [charon] entrypoint: /opt/lodestar/run.sh networks: [dvnode] @@ -124,7 +124,7 @@ services: # | | | | | | __/\ V /_____| |_) | (_) | (_) \__ \ |_ # |_| |_| |_|\___| \_/ |_.__/ \___/ \___/|___/\__| mev-boost: - image: flashbots/mev-boost:${MEVBOOST_VERSION:-1.5.0} + image: flashbots/mev-boost:${MEVBOOST_VERSION:-1.6} networks: [dvnode] command: | -${NETWORK:-goerli}