From 425d302fa91d54ae4380a6f6bb97019d3fccf6a5 Mon Sep 17 00:00:00 2001 From: June Date: Mon, 20 Oct 2025 01:36:00 +0200 Subject: [PATCH] zammad(host): fix compose by using different elasticsearch image Also execute manual update steps as outlined here: https://github.com/zammad/zammad-docker-compose/releases/tag/v14.0.0 Note that this is updating only a part of the compose file and other parts still are out-of-date and should be updated (like the Postgres). --- .../chaosknoten/zammad/docker_compose/compose.yaml.j2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/resources/chaosknoten/zammad/docker_compose/compose.yaml.j2 b/resources/chaosknoten/zammad/docker_compose/compose.yaml.j2 index b2e8f4d..ab1ed85 100644 --- a/resources/chaosknoten/zammad/docker_compose/compose.yaml.j2 +++ b/resources/chaosknoten/zammad/docker_compose/compose.yaml.j2 @@ -4,7 +4,7 @@ https://github.com/zammad/zammad-docker-compose Docker Compose does not allow defining variables in the compose file (only in .env files), so we use Jinja variables instead see https://github.com/zammad/zammad-docker-compose/blob/master/.env #} -{%- set ELASTICSEARCH_VERSION = "8" | quote -%} +{%- set ELASTICSEARCH_VERSION = "8.19.4" | quote -%} {%- set IMAGE_REPO = "ghcr.io/zammad/zammad" | quote -%} {%- set MEMCACHE_SERVERS = "zammad-memcached:11211" | quote -%} {%- set MEMCACHE_VERSION = "1.6-alpine" | quote -%} @@ -80,10 +80,14 @@ services: - ./scripts/backup.sh:/usr/local/bin/backup.sh:ro zammad-elasticsearch: - image: bitnami/elasticsearch:{{ ELASTICSEARCH_VERSION }} + image: elasticsearch:{{ ELASTICSEARCH_VERSION }} restart: {{ RESTART }} volumes: - - elasticsearch-data:/bitnami/elasticsearch/data + - elasticsearch-data:/usr/share/elasticsearch/data + environment: + discovery.type: single-node + xpack.security.enabled: 'false' + ES_JAVA_OPTS: ${ELASTICSEARCH_JAVA_OPTS:--Xms1g -Xmx1g} zammad-init: <<: *zammad-service