new random port

This commit is contained in:
Sebastian
2025-01-28 08:03:19 +01:00
parent 8c69893c8a
commit 4744ad38d3

View File

@@ -58,13 +58,13 @@ services:
- op-bob-mainnet - op-bob-mainnet
expose: expose:
- 8545 # RPC - 8545 # RPC
- 3306 # P2P TCP - 6597 # P2P TCP
- 3306/udp # P2P UDP - 6597/udp # P2P UDP
- 7300 # metrics - 7300 # metrics
- 6060 # pprof - 6060 # pprof
ports: ports:
- "3306:3306" - "6597:6597"
- "3306:3306/udp" - "6597:6597/udp"
command: [ "sh", "./op-node-entrypoint" ] command: [ "sh", "./op-node-entrypoint" ]
restart: always restart: always
volumes: volumes:
@@ -84,8 +84,8 @@ services:
- "OP_NODE_P2P_STATIC=/ip4/34.83.120.192/tcp/9222/p2p/16Uiu2HAkv5SVdeF4hFqJyCATwT87S3PZmutm8akrgwfcdFeqNxWw" - "OP_NODE_P2P_STATIC=/ip4/34.83.120.192/tcp/9222/p2p/16Uiu2HAkv5SVdeF4hFqJyCATwT87S3PZmutm8akrgwfcdFeqNxWw"
- "OP_NODE_P2P_AGENT=conduit" - "OP_NODE_P2P_AGENT=conduit"
- "OP_NODE_P2P_LISTEN_IP=0.0.0.0" - "OP_NODE_P2P_LISTEN_IP=0.0.0.0"
- "OP_NODE_P2P_LISTEN_TCP_PORT=3306" - "OP_NODE_P2P_LISTEN_TCP_PORT=6597"
- "OP_NODE_P2P_LISTEN_UDP_PORT=3306" - "OP_NODE_P2P_LISTEN_UDP_PORT=6597"
- "OP_NODE_ROLLUP_CONFIG=/app/mainnet/bob/rollup.json" - "OP_NODE_ROLLUP_CONFIG=/app/mainnet/bob/rollup.json"
- "OP_NODE_RPC_ADDR=0.0.0.0" - "OP_NODE_RPC_ADDR=0.0.0.0"
- "OP_NODE_P2P_ADVERTISE_IP=${IP}" - "OP_NODE_P2P_ADVERTISE_IP=${IP}"