Enable elasticsearch-xpack in docker compose

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

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 :slight_smile:

No problem! Glad you’re sorted :slight_smile: