change port

This commit is contained in:
Sebastian
2024-06-02 11:57:23 +02:00
parent b6ae195cb7
commit 46f15f6755

View File

@@ -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"