diff --git a/aws/buckets.sh b/aws/buckets.sh new file mode 100755 index 0000000..2480743 --- /dev/null +++ b/aws/buckets.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +awslocal s3 mb s3://ceramic-local-tests diff --git a/docker-compose.integration.yml b/docker-compose.integration.yml index 53192d8..a11191b 100644 --- a/docker-compose.integration.yml +++ b/docker-compose.integration.yml @@ -13,7 +13,12 @@ services: - ETH_RPC_URL=http://ganache:8545 - IPFS_URL=http://ceramic1_ipfs:5001 - REMOTE_CERAMIC_URL=http://remote_ceramic:7007 - - PUBSUB_TOPIC=integration-tests-docker + - PUBSUB_TOPIC=/integration-tests-docker + - AWS_ACCOUNT_ID=000000000000 + - AWS_REGION=us-east-1 + - AWS_ACCESS_KEY_ID=. + - AWS_SECRET_ACCESS_KEY=. + - S3_ENDPOINT_URL=http://localstack:4566 depends_on: remote_ceramic: condition: service_healthy diff --git a/docker-compose.yml b/docker-compose.yml index 991f3cf..fc36fae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -180,6 +180,8 @@ services: - SERVICES=sqs,dynamodb networks: - internal + volumes: + - ./aws:/etc/localstack/init/ready.d healthcheck: test: - CMD