From 46f15f6755bae5d552d5473f2b72b85eb78e3dc2 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sun, 2 Jun 2024 11:57:23 +0200 Subject: [PATCH] change port --- optimism-fullnode.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/optimism-fullnode.yml b/optimism-fullnode.yml index 5d1d4c40..36ce2638 100644 --- a/optimism-fullnode.yml +++ b/optimism-fullnode.yml @@ -5,18 +5,18 @@ services: build: ./op expose: - 8545 # RPC / Websocket - - 636 # P2P TCP (currently unused) - - 636/udp # P2P UDP (currently unused) + - 51439 # P2P TCP (currently unused) + - 51439/udp # P2P UDP (currently unused) - 6060 # metrics - 855 ports: - - "636:636" - - "636:636/udp" + - "51439:51439" + - "51439:51439/udp" #command: [ "sh", "./geth-entrypoint" ] restart: always stop_grace_period: 3m entrypoint: ./geth - command: --datadir=/data --verbosity=3 --http --http.corsdomain=* --http.vhosts=* --http.addr=0.0.0.0 --http.port=8545 --http.api=web3,debug,eth,net,engine --authrpc.addr=0.0.0.0 --authrpc.port=8551 --authrpc.vhosts=* --authrpc.jwtsecret=/jwtsecret --ws --ws.addr=0.0.0.0 --ws.port=8545 --ws.origins=* --ws.api=debug,eth,net,engine --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --syncmode=snap --gcmode=full --state.scheme=path --db.engine=pebble --discovery.port=636 --maxpeers=100 --nat=extip:0.0.0.0 --networkid=8453 --op-network=op-mainnet --rollup.halt=major --rollup.sequencerhttp=https://mainnet-sequencer.optimism.io --port=636 --nat=extip:${IP} + command: --datadir=/data --verbosity=3 --http --http.corsdomain=* --http.vhosts=* --http.addr=0.0.0.0 --http.port=8545 --http.api=web3,debug,eth,net,engine --authrpc.addr=0.0.0.0 --authrpc.port=8551 --authrpc.vhosts=* --authrpc.jwtsecret=/jwtsecret --ws --ws.addr=0.0.0.0 --ws.port=8545 --ws.origins=* --ws.api=debug,eth,net,engine --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --syncmode=snap --gcmode=full --state.scheme=path --db.engine=pebble --discovery.port=51439 --maxpeers=100 --nat=extip:0.0.0.0 --networkid=8453 --op-network=op-mainnet --rollup.halt=major --rollup.sequencerhttp=https://mainnet-sequencer.optimism.io --port=51439 --nat=extip:${IP} volumes: - optimism-fullnode:/data - .jwtsecret:/jwtsecret @@ -29,10 +29,10 @@ services: - "OP_GETH_STATE_SCHEME=path" - "GETH_STATE_SCHEME=path" - "OP_GETH_DB_ENGINE=pebble" - - "OP_GETH_P2P_PORT=636" - - "GETH_DISCOVERY_PORT=636" + - "OP_GETH_P2P_PORT=51439" + - "GETH_DISCOVERY_PORT=51439" - "GETH_DB_ENGINE=pebble" - - "P2P_PORT=636" + - "P2P_PORT=51439" - "WS_PORT=8545" - "OP_NODE_L2_ENGINE_AUTH_RAW=${JWTSECRET}" - "OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt"