Docker image containing an SQS-compatible queue implementation (ElasticMQ) for offline development of software that uses SQS.
docker run -p 9324:9324 graze/sqs-local
You can use a custom conf file as well to override the config stored in the image.
docker run -p 9324:9324 -v "$PWD/elasticmq.conf:/elasticmq.conf" graze/sqs-local
This allows you to run the image on various architectures. The recommendation would be to use this if you're trying to run this on an Apple M1.
docker run -p 9324:9324 graze/sqs-local:multiarch
services:
sqs:
image: graze/sqs-local
ports:
- 9324:9324
volumes:
- ./elasticmq.conf:/elasticmq.conf
If you want to use the multiarch image in your docker-compose file then
services:
sqs:
image: graze/sqs-local:multiarch
ports:
- 9324:9324
volumes:
- ./elasticmq.conf:/elasticmq.conf
docker-compose up sqs