# Example of a 3 node production ready docker-compose for Elasticsearch?

**URL:** <https://discuss.elastic.co/t/example-of-a-3-node-production-ready-docker-compose-for-elasticsearch/315647>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [October 2, 2022, 11:56pm UTC](https://discuss.elastic.co/t/example-of-a-3-node-production-ready-docker-compose-for-elasticsearch/315647 "2022-10-02T23:56:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amphagory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amphagory/32/46127_2.png) [@Amphagory](https://discuss.elastic.co/u/Amphagory)\
**Post date:** [October 2, 2022, 11:56pm UTC](https://discuss.elastic.co/t/example-of-a-3-node-production-ready-docker-compose-for-elasticsearch/315647/1 "2022-10-02T23:56:50Z")

</div>

Hello,

I was wondering if anyone had or can point to an example of a multi-node production ready docker-compose yaml file for Elasticsearch.

I've started with the docker-compose example from the [elastic documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html) added a few things like restart on failure, but unsure what else to worry about.

thanks for any help in advance,

Mike

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 3, 2022, 3:27am UTC](https://discuss.elastic.co/t/example-of-a-3-node-production-ready-docker-compose-for-elasticsearch/315647/2 "2022-10-03T03:27:41Z")

</div>

Hi @Amphagory

Did you look further down the page... it pretty much gives you a full list of what to worry about for production 🙂[Using Docker in Production](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-prod-prerequisites)

---

<div class="post-metadata">

**Author:** ![Amphagory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amphagory/32/46127_2.png) [@Amphagory](https://discuss.elastic.co/u/Amphagory)\
**Post date:** [October 3, 2022, 4:26am UTC](https://discuss.elastic.co/t/example-of-a-3-node-production-ready-docker-compose-for-elasticsearch/315647/3 "2022-10-03T04:26:56Z")

</div>

Hello,

I was hoping to see if others would be kind in sharing their docker-compose file for comparison and what / how they have incorporated other things such as the the suggestions you pointed out further down in the document.

Mike

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 31, 2022, 4:27am UTC](https://discuss.elastic.co/t/example-of-a-3-node-production-ready-docker-compose-for-elasticsearch/315647/4 "2022-10-31T04:27:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
