Memory Allocation for Docker Compose Wazuh Deployment

526 views
Skip to first unread message

ShadyIT

unread,
Jul 13, 2018, 8:01:02 AM7/13/18
to Wazuh mailing list
Dear Wazuh Team,

Hope you guys are well. 

So I'am trying to get Wazuh up with Docker compose on EC2

and want to allocate 2GB of RAM to each service but I suck at compose so perhaps you nice folks could tell me how to increase it? 

I got the file from: 


I only see ES has 2GB allocated to it. 


docker-compose.yml

Miguelangel Freitas

unread,
Jul 15, 2018, 6:24:43 PM7/15/18
to ShadyIT, Wazuh mailing list
​​Hi,

You can change the memory allocation for the elasticsearch service container following the official Elastic notes here: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_notes_for_production_use_and_defaults

For the other services, you can use the mem_limit setting in the docker-compose file to set the maximum amount of available physical memory for that service/container:


You can also set the JVM heap size in Logstash by setting this environment variable: 
https://github.com/wazuh/wazuh-docker/blob/master/docker-compose.yml#L39

I hope this help, please not hesitate to contact us again.

Best Regards,
Miguelangel Freitas.

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/98579db6-2b2d-455b-b5ec-2a404ed3bce2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages