fix ports again
This commit is contained in:
@@ -38,9 +38,14 @@ services:
|
|||||||
- ./optimism/scripts/:/scripts/
|
- ./optimism/scripts/:/scripts/
|
||||||
expose:
|
expose:
|
||||||
- 8545 # http, ws
|
- 8545 # http, ws
|
||||||
|
- 33289 # P2P
|
||||||
|
ports:
|
||||||
|
- "33289:33289"
|
||||||
|
- "33289:33289/udp"
|
||||||
environment:
|
environment:
|
||||||
- "NODE_TYPE=archive"
|
- "NODE_TYPE=archive"
|
||||||
- "SYNC_SOURCE=l2"
|
- "SYNC_SOURCE=l2"
|
||||||
|
- "WS_PORT=8545"
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ exec geth \
|
|||||||
--mine \
|
--mine \
|
||||||
--miner.etherbase=$BLOCK_SIGNER_ADDRESS \
|
--miner.etherbase=$BLOCK_SIGNER_ADDRESS \
|
||||||
--gcmode=$NODE_TYPE \
|
--gcmode=$NODE_TYPE \
|
||||||
--ws.port=8545 \
|
--port=33289 \
|
||||||
# --metrics \
|
# --metrics \
|
||||||
# --metrics.influxdb \
|
# --metrics.influxdb \
|
||||||
# --metrics.influxdb.endpoint=http://influxdb:8086 \
|
# --metrics.influxdb.endpoint=http://influxdb:8086 \
|
||||||
|
|||||||
Reference in New Issue
Block a user