- Installs localstack - a fully functional local AWS cloud stack
- Sets up some services and connects them
- AWS S3 Bucket Notification to SQS queue via SNS topic
docker-compose up -d
Run SQS worker
export $(cat sqsworker.env | xargs)
go build && ./sqsworker
Upload image to S3 bucket
docker-compose run setup awslocal s3 cp /test/images/image.jpg s3://local-kyoo-bucket/image.jpg
Get messages from SQS queue
docker-compose run setup awslocal sqs receive-message --queue-url "http://localhost:4576/queue/kyoo-images-queue" --max-number-of-messages 10