From d5d9ab9c7e50d7b771a30a691cb2d1428450c9a6 Mon Sep 17 00:00:00 2001 From: Chris Breeden <47154440+breedenc@users.noreply.github.com> Date: Mon, 6 Nov 2023 14:32:17 -0800 Subject: [PATCH] update localstack init for localstack v2 (#69) --- backend/docker-compose.local.yml | 2 +- backend/localstack/initialize.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 backend/localstack/initialize.sh diff --git a/backend/docker-compose.local.yml b/backend/docker-compose.local.yml index f5d6ebc3..e4bd7e6b 100644 --- a/backend/docker-compose.local.yml +++ b/backend/docker-compose.local.yml @@ -13,7 +13,7 @@ services: image: "localstack/localstack:latest" container_name: "localstack" volumes: - - ${PWD}/localstack:/docker-entrypoint-initaws.d + - ${PWD}/localstack:/etc/localstack/init/ready.d ports: - "8080:8080" - "4566:4566" diff --git a/backend/localstack/initialize.sh b/backend/localstack/initialize.sh old mode 100644 new mode 100755 index 31554e7d..2ab7bb7a --- a/backend/localstack/initialize.sh +++ b/backend/localstack/initialize.sh @@ -1,3 +1,5 @@ +#!/bin/bash + awslocal sqs create-queue --queue-name artemis-task-queue awslocal sqs create-queue --queue-name artemis-priority-task-queue awslocal sqs create-queue --queue-name artemis-callback-queue