From 1efc7b92e4236a036898f8e44a8d273d736702c4 Mon Sep 17 00:00:00 2001 From: _den <_den@outlook.com> Date: Wed, 30 Nov 2022 17:53:41 +1000 Subject: [PATCH] added http port to lighthouse --- geth/docker-compose.no-proxy.yml | 2 ++ geth/docker-compose.yml | 2 ++ geth/example.env | 5 +++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/geth/docker-compose.no-proxy.yml b/geth/docker-compose.no-proxy.yml index 58aef71..715a3e8 100644 --- a/geth/docker-compose.no-proxy.yml +++ b/geth/docker-compose.no-proxy.yml @@ -89,6 +89,7 @@ services: --port ${CL_P2P_PORT} --http --http-address 0.0.0.0 + --http-port ${CL_HTTP_PORT} --enr-address $PUBLIC_IP --enr-udp-port ${CL_P2P_PORT} --target-peers $TARGET_PEERS @@ -99,6 +100,7 @@ services: ports: - '${CL_P2P_PORT}:${CL_P2P_PORT}/tcp' - '${CL_P2P_PORT}:${CL_P2P_PORT}/udp' + # - '${CL_HTTP_PORT}:${CL_HTTP_PORT}' volumes: - ./lighthouse-data:/home/.eth2/beaconchaindata - ./secrets:/secrets \ No newline at end of file diff --git a/geth/docker-compose.yml b/geth/docker-compose.yml index 20bb3f6..868312e 100644 --- a/geth/docker-compose.yml +++ b/geth/docker-compose.yml @@ -113,6 +113,7 @@ services: --port ${CL_P2P_PORT} --http --http-address 0.0.0.0 + --http-port ${CL_HTTP_PORT} --enr-address $PUBLIC_IP --enr-udp-port ${CL_P2P_PORT} --target-peers $TARGET_PEERS @@ -123,6 +124,7 @@ services: ports: - '${CL_P2P_PORT}:${CL_P2P_PORT}/tcp' - '${CL_P2P_PORT}:${CL_P2P_PORT}/udp' + # - '${CL_HTTP_PORT}:${CL_HTTP_PORT}' volumes: - ./lighthouse-data:/home/.eth2/beaconchaindata - ./secrets:/secrets diff --git a/geth/example.env b/geth/example.env index 10c5388..be97500 100644 --- a/geth/example.env +++ b/geth/example.env @@ -17,6 +17,7 @@ RPC_URL=http://geth:8545 CHECKPOINT_RPC_URL= PUBLIC_IP= EXECUTION_ENDPOINT=http://geth:8554 -CL_P2P_PORT=30304 +CL_P2P_PORT=9004 TARGET_PEERS=50 -LOG_LEVEL=info \ No newline at end of file +LOG_LEVEL=info +CL_HTTP_PORT=5054 \ No newline at end of file