Skip to content

Commit

Permalink
add env.sample.mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
xenowits committed Nov 25, 2023
1 parent 6291a24 commit 50e02cb
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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=

Expand All @@ -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 #########
Expand Down Expand Up @@ -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 #########
Expand Down
120 changes: 120 additions & 0 deletions .env.sample.mainnet
Original file line number Diff line number Diff line change
@@ -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=
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -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}
Expand Down

0 comments on commit 50e02cb

Please sign in to comment.