Last active
August 26, 2020 14:08
-
-
Save rogargon/3f5306d9bfb4957f05086b7cfc1c52d2 to your computer and use it in GitHub Desktop.
A docker-compose.yml to run and configure the Docker image of the Teku Eth2 client and complete the Eth2 Launch Pad for Medalla testnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
teku_node: | |
image: pegasyseng/teku:develop | |
environment: | |
- TEKU_NETWORK=medalla | |
- TEKU_ETH1_DEPOSIT_CONTRACT_ADDRESS=07b39F4fDE4A38bACe212b546dAc87C58DfE3fDC # Eth2 Medalla testnet deposit contract | |
- TEKU_ETH1_ENDPOINT=https://goerli.infura.io/v3/<INFURA_TOKEN> | |
- TEKU_VALIDATORS_KEY_FILES=/opt/teku/data/validator_keys/keystore.json | |
- TEKU_VALIDATORS_KEY_PASSWORD_FILES=/opt/teku/data/validator_keys/password.txt | |
- TEKU_DATA_PATH=/opt/teku/data/ | |
- TEKU_LOG_FILE=/opt/teku/data/logs | |
- TEKU_P2P_PORT=9000 | |
- TEKU_REST_API_ENABLED=true | |
- TEKU_METRICS_ENABLED=true | |
- TEKU_REST_API_DOCS_ENABLED=true | |
- TEKU_LOG_INCLUDE_VALIDATOR_DUTIES_ENABLED=true | |
volumes: | |
- /home/user/teku/data:/opt/teku/data | |
ports: | |
- "9000:9000" | |
- "5051:5051" | |
- "8008:8008" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First, follow the instructions at https://medalla.launchpad.ethereum.org
Then, copy the validator_keys folder generated by eth2.0-deposit-cli (including a file with the password set during generation) to the volume mounted by the container
Finally, run
docker-compose up -d