Skip to content

Commit 83cea3e

Browse files
committed
test
1 parent 3965756 commit 83cea3e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docker-compose.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3.8"
33
services:
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

0 commit comments

Comments
 (0)