Skip to content

Commit

Permalink
Update docker-compose p2p settings (#132)
Browse files Browse the repository at this point in the history
* Update docker-compose p2p settings

* Update version
  • Loading branch information
antares-sw authored Dec 14, 2022
1 parent 3b54c57 commit 0772860
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 12 deletions.
14 changes: 12 additions & 2 deletions deploy/gnosis/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ networks:
services:
oracle:
container_name: oracle_gnosis
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/oracle/main.py"]
Expand All @@ -34,7 +34,7 @@ services:

keeper:
container_name: keeper_gnosis
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/keeper/main.py"]
Expand Down Expand Up @@ -133,8 +133,13 @@ services:
- --JsonRpc.EnginePort=8551
- --JsonRpc.EngineHost=0.0.0.0
- --JsonRpc.EngineEnabledModules=Net,Eth,Subscribe,Engine,Web3,Client
- --Network.P2PPort=30330
- --Network.DiscoveryPort=30330
volumes: ["nethermind:/data","../configs/jwtsecret:/jwtsecret"]
profiles: ["nethermind"]
ports:
- 30330:30330/tcp
- 30330:30330/udp
networks:
gnosis:
aliases:
Expand All @@ -155,8 +160,13 @@ services:
- --execution-endpoint
- $ETH1_ENDPOINT
- --execution-jwt=/jwtsecret
- --port=30331
- --enr-udp-port=30332
volumes: ["lighthouse:/root/.lighthouse","../configs/jwtsecret:/jwtsecret"]
profiles: ["lighthouse"]
ports:
- 30331:30331/tcp
- 30332:30332/udp
networks:
gnosis:
aliases:
Expand Down
23 changes: 21 additions & 2 deletions deploy/goerli/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ networks:
services:
oracle:
container_name: oracle_goerli
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/oracle/main.py"]
Expand All @@ -36,7 +36,7 @@ services:

keeper:
container_name: keeper_goerli
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/keeper/main.py"]
Expand Down Expand Up @@ -138,8 +138,12 @@ services:
- --datadir=/data/ethereum
- --ethash.dagdir=/data/ethereum/.ethash
- --ipcdisable
- --port=30300
volumes: ["geth:/data","../configs/jwtsecret:/jwtsecret"]
profiles: ["geth"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
goerli:
aliases:
Expand All @@ -165,9 +169,14 @@ services:
--engine-rpc-port=8551
--host-allowlist=*
--max-peers=50
--p2p-enabled=true
--p2p-port=30300
volumes: ["besu:/data","../configs/jwtsecret:/jwtsecret"]
user: "0:0"
profiles: ["besu"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
goerli:
aliases:
Expand All @@ -188,8 +197,13 @@ services:
- --http-web3provider=$ETH1_ENDPOINT
- --slots-per-archive-point=1024
- --accept-terms-of-use
- --p2p-tcp-port=30301
- --p2p-udp-port=30301
volumes: ["prysm:/data","../configs/genesis.ssz:/data/gensis.ssz","../configs/jwtsecret:/jwtsecret"]
profiles: ["prysm"]
ports:
- 30301:30301/tcp
- 30301:30301/udp
networks:
goerli:
aliases:
Expand All @@ -210,8 +224,13 @@ services:
- --execution-endpoint
- $ETH1_ENDPOINT
- --execution-jwt=/jwtsecret
- --port=30301
- --enr-udp-port=30302
volumes: ["lighthouse:/root/.lighthouse","../configs/jwtsecret:/jwtsecret"]
profiles: ["lighthouse"]
ports:
- 30302:30302/tcp
- 30302:30302/udp
networks:
goerli:
aliases:
Expand Down
25 changes: 22 additions & 3 deletions deploy/harbour_goerli/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ networks:
services:
oracle:
container_name: oracle_harbour_goerli
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/oracle/main.py"]
Expand All @@ -36,7 +36,7 @@ services:

keeper:
container_name: keeper_harbour_goerli
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/keeper/main.py"]
Expand Down Expand Up @@ -138,8 +138,12 @@ services:
- --datadir=/data/ethereum
- --ethash.dagdir=/data/ethereum/.ethash
- --ipcdisable
- --port=30300
volumes: ["geth:/data","../configs/jwtsecret:/jwtsecret"]
profiles: ["geth"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
harbour_goerli:
aliases:
Expand All @@ -165,9 +169,14 @@ services:
--engine-rpc-port=8551
--host-allowlist=*
--max-peers=50
volumes: ["besu:/opt/besu/database","../configs/jwtsecret:/jwtsecret"]
--p2p-enabled=true
--p2p-port=30300
volumes: ["besu:/data","../configs/jwtsecret:/jwtsecret"]
user: "0:0"
profiles: ["besu"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
harbour_goerli:
aliases:
Expand All @@ -188,8 +197,13 @@ services:
- --http-web3provider=$ETH1_ENDPOINT
- --slots-per-archive-point=1024
- --accept-terms-of-use
- --p2p-tcp-port=30301
- --p2p-udp-port=30301
volumes: ["prysm:/data","../configs/genesis.ssz:/data/gensis.ssz","../configs/jwtsecret:/jwtsecret"]
profiles: ["prysm"]
ports:
- 30301:30301/tcp
- 30301:30301/udp
networks:
harbour_goerli:
aliases:
Expand All @@ -210,8 +224,13 @@ services:
- --execution-endpoint
- $ETH1_ENDPOINT
- --execution-jwt=/jwtsecret
- --port=30301
- --enr-udp-port=30302
volumes: ["lighthouse:/root/.lighthouse","../configs/jwtsecret:/jwtsecret"]
profiles: ["lighthouse"]
ports:
- 30302:30302/tcp
- 30302:30302/udp
networks:
harbour_goerli:
aliases:
Expand Down
23 changes: 21 additions & 2 deletions deploy/harbour_mainnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ networks:
services:
oracle:
container_name: oracle_harbour_mainnet
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/oracle/main.py"]
Expand All @@ -36,7 +36,7 @@ services:

keeper:
container_name: keeper_harbour_mainnet
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/keeper/main.py"]
Expand Down Expand Up @@ -138,8 +138,12 @@ services:
- --datadir=/data/ethereum
- --ethash.dagdir=/data/ethereum/.ethash
- --ipcdisable
- --port=30300
volumes: ["geth:/data","../configs/jwtsecret:/jwtsecret"]
profiles: ["geth"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
harbour_mainnet:
aliases:
Expand All @@ -165,9 +169,14 @@ services:
--engine-rpc-port=8551
--host-allowlist=*
--max-peers=50
--p2p-enabled=true
--p2p-port=30300
volumes: ["besu:/data","../configs/jwtsecret:/jwtsecret"]
user: "0:0"
profiles: ["besu"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
harbour_mainnet:
aliases:
Expand All @@ -187,8 +196,13 @@ services:
- --http-web3provider=$ETH1_ENDPOINT
- --slots-per-archive-point=1024
- --accept-terms-of-use
- --p2p-tcp-port=30301
- --p2p-udp-port=30301
volumes: ["prysm:/data","../configs/genesis.ssz:/data/gensis.ssz","../configs/jwtsecret:/jwtsecret"]
profiles: ["prysm"]
ports:
- 30301:30301/tcp
- 30301:30301/udp
networks:
harbour_mainnet:
aliases:
Expand All @@ -209,8 +223,13 @@ services:
- --execution-endpoint
- $ETH1_ENDPOINT
- --execution-jwt=/jwtsecret
- --port=30301
- --enr-udp-port=30302
volumes: ["lighthouse:/root/.lighthouse","../configs/jwtsecret:/jwtsecret"]
profiles: ["lighthouse"]
ports:
- 30302:30302/tcp
- 30302:30302/udp
networks:
harbour_mainnet:
aliases:
Expand Down
23 changes: 21 additions & 2 deletions deploy/mainnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ networks:
services:
oracle:
container_name: oracle_mainnet
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/oracle/main.py"]
Expand All @@ -36,7 +36,7 @@ services:

keeper:
container_name: keeper_mainnet
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.8
image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.8.9
restart: always
entrypoint: ["python"]
command: ["oracle/keeper/main.py"]
Expand Down Expand Up @@ -138,8 +138,12 @@ services:
- --datadir=/data/ethereum
- --ethash.dagdir=/data/ethereum/.ethash
- --ipcdisable
- --port=30300
volumes: ["geth:/data","../configs/jwtsecret:/jwtsecret"]
profiles: ["geth"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
mainnet:
aliases:
Expand All @@ -165,9 +169,14 @@ services:
--engine-rpc-port=8551
--host-allowlist=*
--max-peers=50
--p2p-enabled=true
--p2p-port=30300
volumes: ["besu:/data","../configs/jwtsecret:/jwtsecret"]
user: "0:0"
profiles: ["besu"]
ports:
- 30300:30300/tcp
- 30300:30300/udp
networks:
mainnet:
aliases:
Expand All @@ -186,8 +195,13 @@ services:
- --http-web3provider=$ETH1_ENDPOINT
- --slots-per-archive-point=1024
- --accept-terms-of-use
- --p2p-tcp-port=30301
- --p2p-udp-port=30301
volumes: ["prysm:/data","../configs/jwtsecret:/jwtsecret"]
profiles: ["prysm"]
ports:
- 30301:30301/tcp
- 30301:30301/udp
networks:
mainnet:
aliases:
Expand All @@ -208,8 +222,13 @@ services:
- --execution-endpoint
- $ETH1_ENDPOINT
- --execution-jwt=/jwtsecret
- --port=30301
- --enr-udp-port=30302
volumes: ["lighthouse:/root/.lighthouse","../configs/jwtsecret:/jwtsecret"]
profiles: ["lighthouse"]
ports:
- 30302:30302/tcp
- 30302:30302/udp
networks:
mainnet:
aliases:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "oracle"
version = "2.8.8"
version = "2.8.9"
description = "StakeWise Oracles are responsible for submitting off-chain data."
authors = ["Dmitri Tsumak <[email protected]>"]
license = "AGPL-3.0-only"
Expand Down

0 comments on commit 0772860

Please sign in to comment.