From 4d54f98ca303a00563e9cc6fd21a99b5396666ae Mon Sep 17 00:00:00 2001 From: Houssain Amrani Date: Sun, 23 Jun 2024 22:53:39 +0100 Subject: [PATCH] Update docker-compose --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index a09fdc7..a1d7e38 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}" image: localstack/localstack network_mode: bridge + hostname: localstack ports: - '4566-4597:4566-4597' environment: @@ -15,6 +16,7 @@ services: - LOCALSTACK_API_KEY=${LOCALSTACK_API_KEY-} # only required for Pro - HOST_TMP_FOLDER=${TMPDIR:-/tmp/}localstack - DOCKER_HOST=unix:///var/run/docker.sock + - HOSTNAME_EXTERNAL=localstack volumes: - "${TMPDIR:-/tmp}/localstack:/tmp/localstack" - "/var/run/docker.sock:/var/run/docker.sock"