fix ports again

This commit is contained in:
Sebastian
2023-04-11 07:25:16 +02:00
parent 3465d8b944
commit 831acfa75c
2 changed files with 6 additions and 1 deletions

View File

@@ -38,9 +38,14 @@ services:
- ./optimism/scripts/:/scripts/
expose:
- 8545 # http, ws
- 33289 # P2P
ports:
- "33289:33289"
- "33289:33289/udp"
environment:
- "NODE_TYPE=archive"
- "SYNC_SOURCE=l2"
- "WS_PORT=8545"
networks:
- chains
labels:

View File

@@ -14,7 +14,7 @@ exec geth \
--mine \
--miner.etherbase=$BLOCK_SIGNER_ADDRESS \
--gcmode=$NODE_TYPE \
--ws.port=8545 \
--port=33289 \
# --metrics \
# --metrics.influxdb \
# --metrics.influxdb.endpoint=http://influxdb:8086 \