Skip to content

Commit 5fc6198

Browse files
update localstack
1 parent 61fe6ca commit 5fc6198

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '2'
2-
31
services:
42
dev:
53
# when image publishing gets sorted:
@@ -134,12 +132,12 @@ services:
134132
LOCALSTACK_HOST: 'localstack'
135133
SERVICES: 'sqs,sns'
136134
EAGER_SERVICE_LOADING: '1'
137-
DEFAULT_REGION: 'us-east-1'
138135
networks:
139136
default:
140137
aliases:
141138
- 'localstack'
142139
- 'sqs.us-east-1.localstack'
140+
- 'snsqs.us-east-1.localstack'
143141

144142
influxdb:
145143
image: 'influxdb:latest'

docker/bin/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function waitForServiceLocalStack()
3737
until [ $READY = 1 ]; do
3838
printf "check readiness for service localstack:4566\n"
3939
RESPONSE=$(curl -s http://localstack:4566/_localstack/health)
40-
if [[ $RESPONSE == *'"sns": "running"'* && $RESPONSE == *'"sqs": "running"'* ]]; then
40+
if [[ $RESPONSE == *'"sns": "available"'* && $RESPONSE == *'"sqs": "available"'* ]]; then
4141
READY=1
4242
fi
4343
((ATTEMPTS++))

0 commit comments

Comments
 (0)