From 06bfbd56e4853e9765bbe8ae28a3c650029ffb6e Mon Sep 17 00:00:00 2001 From: David Boreham Date: Mon, 7 Nov 2022 23:17:56 -0700 Subject: [PATCH] Use host gateway for services --- compose/docker-compose-watcher-mobymask.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose/docker-compose-watcher-mobymask.yml b/compose/docker-compose-watcher-mobymask.yml index c6967684..7314e637 100644 --- a/compose/docker-compose-watcher-mobymask.yml +++ b/compose/docker-compose-watcher-mobymask.yml @@ -36,6 +36,8 @@ services: ports: - "0.0.0.0:3001:3001" - "0.0.0.0:9001:9001" + extra_hosts: + - "ipld-eth-server:host-gateway" healthcheck: test: ["CMD", "nc", "-v", "localhost", "3001"] interval: 20s @@ -56,6 +58,8 @@ services: - ../config/watcher-mobymask/mobymask-watcher.toml:/app/packages/mobymask-watcher/environments/local.toml ports: - "0.0.0.0:9000:9000" + extra_hosts: + - "ipld-eth-server:host-gateway" volumes: indexer_db_data: