Skip to content

Commit

Permalink
Fix docker-compose.yml with Engine's properties (#392)
Browse files Browse the repository at this point in the history
* Fix docker-compose.yml with Engine's properties

* Update docs/HowTo/Get-Started/Installation-Options/Run-Docker-Image.md

Co-authored-by: rolandtyler <88206508+rolandtyler@users.noreply.github.com>

* Update docs/HowTo/Get-Started/Installation-Options/Run-Docker-Image.md

Co-authored-by: rolandtyler <88206508+rolandtyler@users.noreply.github.com>

* Update Run-Docker-Image.md

Co-authored-by: rolandtyler <88206508+rolandtyler@users.noreply.github.com>
  • Loading branch information
ianaz and rolandtyler authored Sep 13, 2022
1 parent 301408d commit b3dadb2
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions docs/HowTo/Get-Started/Installation-Options/Run-Docker-Image.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,15 @@ to start the container.
"--rpc-http-enabled",
"--rpc-http-cors-origins=*",
"--rpc-http-api=ETH,NET,CLIQUE,DEBUG,MINER,NET,PERM,ADMIN,EEA,TXPOOL,PRIV,WEB3"]
"--engine-jwt-secret=/var/lib/besu/data/token.txt",
"--engine-host-allowlist=*",
"--engine-rpc-enabled=true"
volumes:
- ./besu:/var/lib/besu/data
ports:
# Map the p2p port(30303) and RPC HTTP port(8545)
# Map the p2p port(30303), RPC HTTP port(8545), and engine port (8551)
- "8545:8545"
- "8551:8551"
- "30303:30303/tcp"
- "30303:30303/udp"

Expand All @@ -119,8 +123,10 @@ to start the container.
- "JAVA_OPTS=-Xmx4g"
image: consensys/teku:latest
command: ["--network=goerli",
"--data-base-path=/var/lib/teku/data"
"--eth1-endpoint=http://besu_node:8545",
"--data-base-path=/var/lib/teku/data",
"--validators-proposer-default-fee-recipient=YOUR_WALLET",
"--ee-endpoint=http://besu_node:8551",
"--ee-jwt-secret-file=/var/lib/teku/data/token.txt",
"--validator-keys=/var/lib/teku/data/validator/keys:/var/lib/teku/data/validator/passwords",
"--p2p-port=9000",
"--rest-api-enabled=true",
Expand Down Expand Up @@ -149,21 +155,27 @@ to start the container.
"--host-allowlist=*",
"--rpc-http-enabled",
"--rpc-http-cors-origins=*",
"--rpc-http-api=ETH,NET,CLIQUE,DEBUG,MINER,NET,PERM,ADMIN,EEA,TXPOOL,PRIV,WEB3"]
"--rpc-http-api=ETH,NET,CLIQUE,DEBUG,MINER,NET,PERM,ADMIN,EEA,TXPOOL,PRIV,WEB3",
"--engine-jwt-secret=/var/lib/besu/data/token.txt",
"--engine-host-allowlist=*",
"--engine-rpc-enabled=true"]
volumes:
- ./besu:/var/lib/besu/data
ports:
# Map the p2p port(30303) and RPC HTTP port(8545)
# Map the p2p port(30303), RPC HTTP port(8545), and engine port (8551)
- "8545:8545"
- "8551:8551"
- "30303:30303/tcp"
- "30303:30303/udp"

teku_node:
environment:
- "JAVA_OPTS=-Xmx4g"
image: consensys/teku:latest
command: ["--data-base-path=/var/lib/teku/data"
"--eth1-endpoint=http://besu_node:8545",
command: ["--data-base-path=/var/lib/teku/data",
"--validators-proposer-default-fee-recipient=YOUR_WALLET",
"--ee-endpoint=http://besu_node:8551",
"--ee-jwt-secret-file=/var/lib/teku/data/token.txt",
"--validator-keys=/var/lib/teku/data/validator/keys:/var/lib/teku/data/validator/passwords",
"--p2p-port=9000",
"--rest-api-enabled=true",
Expand Down

0 comments on commit b3dadb2

Please sign in to comment.