From 3b98ec4109305ac7c17416dc34ac98aa119be0e1 Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Wed, 13 Mar 2024 16:01:09 -0500 Subject: [PATCH] Fixed local stack docker issues --- docker-compose.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a1fb7df..e81f719 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,13 +3,20 @@ services: localstack: image: localstack/localstack:3.0.2 ports: - - '4563-4599:4563-4599' - - '8055:8080' + - 4563-4599:4563-4599 + - 8055:8080 environment: - SERVICES=sqs,sns,s3,cloudwatch - DEBUG=1 + volumes: + - "localstackdata:/var/lib/localstack" + - "/var/run/docker.sock:/var/run/docker.sock" ready: image: andrewlock/wait-for-dependencies command: localstack:4566 depends_on: - localstack + +volumes: + localstackdata: + driver: local