Skip to content

Commit

Permalink
Support multiple localstack S3 statuses in healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeah authored Dec 6, 2023
1 parent a17ab7a commit 85aeed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ services:
- "./.localstack_volume:/var/lib/localstack"
- '/var/run/docker.sock:/var/run/docker.sock'
healthcheck:
test: "curl --silent --fail localstack:4566/_localstack/health | grep '\"s3\": \"available\"'"
test: "curl --silent --fail localstack:4566/_localstack/health | grep -E '"s3": "(available|running)"'
interval: 10s
retries: 12
start_period: 30s
Expand Down

0 comments on commit 85aeed3

Please sign in to comment.