diff --git a/Dockerfile b/Dockerfile index 47b0abc..04c56a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY jwtsecret.hex /jwtsecret ENTRYPOINT geth --http --http.addr 0.0.0.0 \ --http.corsdomain "*" --http.vhosts "*" \ - --syncmode ${SYNCMODE:-snap} --port ${P2P_PORT} \ + --syncmode ${SYNCMODE:-snap} --port ${P2P_PORTS} \ --metrics --metrics.addr 0.0.0.0 \ --authrpc.addr 0.0.0.0 \ --authrpc.port 8551 \ diff --git a/docker-compose.yml b/docker-compose.yml index 0fbea93..53822bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: - "geth:/root/.ethereum" environment: - "EXTRA_OPTION=--http.api eth,engine,net,web3,txpool" - - P2P_PORT=30403 + - P2P_PORTS=30403 - SYNCMODE=snap ports: - "30403:30403/tcp"