File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- version : ' 2'
2
-
3
1
services :
4
2
dev :
5
3
# when image publishing gets sorted:
@@ -134,12 +132,12 @@ services:
134
132
LOCALSTACK_HOST : ' localstack'
135
133
SERVICES : ' sqs,sns'
136
134
EAGER_SERVICE_LOADING : ' 1'
137
- DEFAULT_REGION : ' us-east-1'
138
135
networks :
139
136
default :
140
137
aliases :
141
138
- ' localstack'
142
139
- ' sqs.us-east-1.localstack'
140
+ - ' snsqs.us-east-1.localstack'
143
141
144
142
influxdb :
145
143
image : ' influxdb:latest'
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function waitForServiceLocalStack()
37
37
until [ $READY = 1 ]; do
38
38
printf " check readiness for service localstack:4566\n"
39
39
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
41
41
READY=1
42
42
fi
43
43
(( ATTEMPTS++ ))
You can’t perform that action at this time.
0 commit comments