I have a few webapps and a bundle of microservices. I would like to deploy to these to ECS via Docker Compose (totally stateless), however I am struggling with some duplicity; Three of the webapps have a common microservice. I want to know if, when using Docker Compose, I can get away with having one container instance for this particular common microservice. It seems like the alternative is to have the same microservice running in triplicate.

Any thoughts? Thanks.

closed as unclear what you're asking by Tensibai Jun 8 '17 at 12:46

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.