vsouza / docker-SQS-local

Docker image to run Amazon Simple Queue Service (Amazon SQS) locally.
MIT License
226 stars 32 forks source link

Add custom.conf #2

Closed blair55 closed 7 years ago

blair55 commented 7 years ago

This makes the host addressable under its assigned IP. Now works with docker-machine which runs your containers on a VM with a designated IP address (i.e. not localhost).

See https://github.com/adamw/elasticmq#how-are-queue-urls-created

I'm not running docker native so can't check that it still works using 'localhost' after this change.

Also updated ElasticMQ version to 0.13.1.

vsouza commented 7 years ago

@blair55 seems that port doesn't change, I tested using another port on configuration file, and elasticmq still binding on port 9324

image

Do you have more instructions to using config file, or I do something wrong on my test?

Thanks for PR.

blair55 commented 7 years ago

I'm not sure why that would be? In any case, that wasn't what I was trying to achieve. My intention was to make the endpoint reachable when using docker-machine (i.e. not on localhost).

vsouza commented 7 years ago

Perfect. Thanks for contributing. 😄