A docker container for elasticmq which is a nice message queue server with an SQS interface which makes it fantastic for SQS app developers.
It's on docker-hub and github
latest
,0.14.6
(Dockerfile)
Running can be as simple as
docker run -P fingershock/elasticmq
however, to be generally useful, additional arguments or configuration files will need to be provided.
To provide an elasticmq configuration file, bind mount it and tell elasticmq where it is using the ELASTICMQ_OPTS
environment variable.
docker run -P -e ELASTICMQ_OPTS="-Dconfig.file=my.conf" -v /docker/host/emq/my.conf:/elasticmq/my.conf:ro fingershock/elasticmq
Passing simple options without a full-blown config file can also be done using ELASTICMQ_OPTS
docker run -p 9999:9324 -e ELASTICMQ_OPTS="-Dnode-address.host=10.2.3.4 -Dnode-address.port=9999" fingershock/elasticmq