map optimism websocket on a different port than http

This commit is contained in:
Sebastian
2023-04-11 11:04:58 +02:00
parent 831acfa75c
commit f93474073a

View File

@@ -37,7 +37,8 @@ services:
- optimism-geth:/geth - optimism-geth:/geth
- ./optimism/scripts/:/scripts/ - ./optimism/scripts/:/scripts/
expose: expose:
- 8545 # http, ws - 8545 # http
- 8546 # ws
- 33289 # P2P - 33289 # P2P
ports: ports:
- "33289:33289" - "33289:33289"
@@ -45,7 +46,7 @@ services:
environment: environment:
- "NODE_TYPE=archive" - "NODE_TYPE=archive"
- "SYNC_SOURCE=l2" - "SYNC_SOURCE=l2"
- "WS_PORT=8545" - "WS_PORT=8546"
networks: networks:
- chains - chains
labels: labels: