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/ - ./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:

View File

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