diff --git a/docker-compose.yml b/docker-compose.yml index e839b469..48d2addf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ services: image: corescope:latest container_name: corescope-prod restart: unless-stopped + extra_hosts: + - "host.docker.internal:host-gateway" ports: - "${PROD_HTTP_PORT:-80}:${PROD_HTTP_PORT:-80}" - "${PROD_HTTPS_PORT:-443}:${PROD_HTTPS_PORT:-443}" @@ -31,6 +33,8 @@ services: image: corescope:latest container_name: corescope-staging restart: unless-stopped + extra_hosts: + - "host.docker.internal:host-gateway" ports: - "${STAGING_HTTP_PORT:-81}:${STAGING_HTTP_PORT:-81}" - "${STAGING_MQTT_PORT:-1884}:1883" @@ -59,6 +63,8 @@ services: image: corescope-go:latest container_name: corescope-staging-go restart: unless-stopped + extra_hosts: + - "host.docker.internal:host-gateway" ports: - "${STAGING_GO_HTTP_PORT:-82}:80" - "${STAGING_GO_MQTT_PORT:-1885}:1883"