From 4aecfcd780993e35fe2d352da5d7b4a0cf360bd6 Mon Sep 17 00:00:00 2001 From: prathamesh0 <42446521+prathamesh0@users.noreply.github.com> Date: Thu, 27 Apr 2023 18:26:58 +0530 Subject: [PATCH] Map op-batcher and op-proposer ports to host (#373) Former-commit-id: f04b266a24351d89fe60c2f87a0cbcd7e81dc6bf --- app/data/compose/docker-compose-fixturenet-optimism.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/data/compose/docker-compose-fixturenet-optimism.yml b/app/data/compose/docker-compose-fixturenet-optimism.yml index c9e17b03..a20fd118 100644 --- a/app/data/compose/docker-compose-fixturenet-optimism.yml +++ b/app/data/compose/docker-compose-fixturenet-optimism.yml @@ -122,6 +122,8 @@ services: # Waits for L1 endpoint to be up before running the batcher command: | "/wait-for-it.sh -h ${CERC_L1_HOST:-$${DEFAULT_CERC_L1_HOST}} -p ${CERC_L1_PORT:-$${DEFAULT_CERC_L1_PORT}} -s -t 60 -- /run-op-batcher.sh" + ports: + - "127.0.0.1:8548:8548" extra_hosts: - "host.docker.internal:host-gateway" @@ -145,6 +147,8 @@ services: # Waits for L1 endpoint to be up before running the proposer command: | "/wait-for-it.sh -h ${CERC_L1_HOST:-$${DEFAULT_CERC_L1_HOST}} -p ${CERC_L1_PORT:-$${DEFAULT_CERC_L1_PORT}} -s -t 60 -- /run-op-proposer.sh" + ports: + - "127.0.0.1:8560:8560" extra_hosts: - "host.docker.internal:host-gateway"