# Enable elasticsearch-xpack in docker compose

**URL:** <https://discuss.elastic.co/t/enable-elasticsearch-xpack-in-docker-compose/218036>\
**Category:** Metrics\
**Created:** [February 5, 2020, 5:27pm UTC](https://discuss.elastic.co/t/enable-elasticsearch-xpack-in-docker-compose/218036 "2020-02-05T17:27:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomx1](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@tomx1](https://discuss.elastic.co/u/tomx1)\
**Post date:** [February 5, 2020, 5:27pm UTC](https://discuss.elastic.co/t/enable-elasticsearch-xpack-in-docker-compose/218036/1 "2020-02-05T17:27:11Z")

</div>

I'm trying to get metricbeat running monitoring our elasticsearch cluster which is managed by docker swarm. See: [https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-metricbeat.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-metricbeat.html)

Looks quite easy, but I can't figure out how I have to enable the elasticsearch-xpack module after the metricbeat container is up???

/edit  
Nevermind, seems like I've confused a few things. It's working, sorry for the noise 🙂

---

<div class="post-metadata">

**Author:** ![Kerry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kerry/32/40330_2.png) [@Kerry](https://discuss.elastic.co/u/Kerry)\
**Post date:** [February 6, 2020, 9:36am UTC](https://discuss.elastic.co/t/enable-elasticsearch-xpack-in-docker-compose/218036/2 "2020-02-06T09:36:20Z")

</div>

No problem! Glad you’re sorted 🙂

---

<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:** [March 5, 2020, 9:36am UTC](https://discuss.elastic.co/t/enable-elasticsearch-xpack-in-docker-compose/218036/3 "2020-03-05T09:36:20Z")

</div>

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