File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: "3.8"
33services :
44 localstack :
55 container_name : localstack
6- image : localstack/localstack:2.3.2
6+ image : localstack/localstack:3.0.0
77 ports :
88 - " 127.0.0.1:5001:5001"
99 volumes :
@@ -13,17 +13,20 @@ services:
1313 - " ./docker/uid2-optout/src/init-aws.sh:/etc/localstack/init/ready.d/init-aws-optout.sh"
1414 - " ./docker/uid2-optout/src/s3/optout:/s3/optout"
1515 environment :
16- - EDGE_PORT= 5001
16+ - GATEWAY_LISTEN=0.0.0.0: 5001
1717 - KMS_PROVIDER=local-kms
18- - LOCALSTACK_HOST=localstack
18+ - LOCALSTACK_HOST=localstack:5001
1919 - SERVICES=s3,sqs,kms
2020 - DEFAULT_REGION=us-east-1
2121 - AWS_DEFAULT_REGION=us-east-1
22+ - SQS_ENDPOINT_STRATEGY=path
2223 healthcheck :
23- test : curl -f http://localhost:5001/_localstack/health || exit 1
24+ test : awslocal s3api wait bucket-exists --bucket test-core-bucket
25+ && awslocal s3api wait bucket-exists --bucket test-optout-bucket
26+ && awslocal sqs get-queue-url --queue-name optout-queue
2427 interval : 5s
2528 timeout : 10s
26- retries : 10
29+ retries : 6
2730 networks :
2831 - e2e_default
2932
You can’t perform that action at this time.
0 commit comments