From 057d1f531766daf50925690bed5377c34d67e61c Mon Sep 17 00:00:00 2001 From: John Shaughnessy Date: Sat, 28 Jan 2023 21:03:15 -0500 Subject: [PATCH] Add extra hosts --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b9aeb19..ae9ef9a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,6 +41,10 @@ services: volumes: - hubs:/code working_dir: /code/admin + extra_hosts: + - "hubs.local:host-gateway" + - "hubs-proxy.local:host-gateway" + - "host.docker.internal:host-gateway" hubs-client: build: context: . @@ -58,6 +62,10 @@ services: volumes: - hubs:/code working_dir: /code + extra_hosts: + - "hubs.local:host-gateway" + - "hubs-proxy.local:host-gateway" + - "host.docker.internal:host-gateway" hubs-storybook: build: context: . @@ -100,6 +108,10 @@ services: volumes: - reticulum:/code - retstorage:/code/storage/dev + extra_hosts: + - "hubs.local:host-gateway" + - "hubs-proxy.local:host-gateway" + - "host.docker.internal:host-gateway" spoke: build: context: . @@ -114,6 +126,10 @@ services: - "9090:9090" volumes: - spoke:/code + extra_hosts: + - "hubs.local:host-gateway" + - "hubs-proxy.local:host-gateway" + - "host.docker.internal:host-gateway" networks: default: name: mozilla-hubs