From db4c28ade03f6d76d1099319486524dbdb40745c Mon Sep 17 00:00:00 2001 From: saibotk Date: Sat, 11 Feb 2023 12:57:48 +0100 Subject: [PATCH] mastodon: Fix elasticsearch restarts, higher mem --- roles/mastodon/templates/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/mastodon/templates/docker-compose.yml b/roles/mastodon/templates/docker-compose.yml index 939c534..d5ea4ff 100644 --- a/roles/mastodon/templates/docker-compose.yml +++ b/roles/mastodon/templates/docker-compose.yml @@ -85,8 +85,8 @@ services: es: restart: always image: docker.elastic.co/elasticsearch/elasticsearch:{{ mastodon_elasticsearch_image_version }} - mem_limit: 724mb - memswap_limit: 780mb + mem_limit: 1124mb + memswap_limit: 1280mb environment: - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Des.enforce.bootstrap.checks=true" - "xpack.license.self_generated.type=basic"