From af787b5c44f792d0360bf5288223c90517c85b61 Mon Sep 17 00:00:00 2001 From: romk Date: Fri, 4 Oct 2024 22:31:08 +0200 Subject: [PATCH] Fix elasticsearch memory requirements Elasticsearch service silently terminates because of OOM. Add memory requirements according to the official page "Install Elasticsearch with Docker": ```docker run -m 1GB ...``` --- docker/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 07f7f43..2151110 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -60,6 +60,10 @@ services: nofile: soft: 65536 hard: 65536 + deploy: + resources: + limits: + memory: 1gb image: docker.elastic.co/elasticsearch/elasticsearch:7.17.18 restart: unless-stopped volumes: