From 9e271429170a8080aec5a4a6115e4936e0455148 Mon Sep 17 00:00:00 2001 From: dblugeon Date: Tue, 5 May 2026 21:39:30 +0200 Subject: [PATCH] Bump DB images & add persistent volumes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update Cassandra image to 4.0.20 * Update Elasticsearch image to 8.19.15 * Increase Cassandra health‑check retries. On slow disks, Cassandra could incorrectly be marked unhealthy with the previous settings * Add JCE_ELASTICSEARCH_DATA and JCE_CASSANDRA_DATA compose environment variables. Use docker volumes janusgraph-cassandra-data and janusgraph-elasticsearch-data by default Signed-off-by: dblugeon --- .../docker/examples/docker-compose-cql-es.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/janusgraph-dist/docker/examples/docker-compose-cql-es.yml b/janusgraph-dist/docker/examples/docker-compose-cql-es.yml index 108ceb5bed..0a31cec71d 100644 --- a/janusgraph-dist/docker/examples/docker-compose-cql-es.yml +++ b/janusgraph-dist/docker/examples/docker-compose-cql-es.yml @@ -36,8 +36,10 @@ services: retries: 3 cassandra: - image: cassandra:4.0.18 + image: cassandra:4.0.20 container_name: jce-cassandra + volumes: + - ${JCE_CASSANDRA_DATA:-janusgraph-cassandra-data}:/var/lib/cassandra ports: - "9042:9042" - "9160:9160" @@ -47,11 +49,13 @@ services: test: ["CMD", "nodetool", "status"] interval: 10s timeout: 30s - retries: 6 + retries: 10 elasticsearch: - image: elasticsearch:8.18.4 + image: elasticsearch:8.19.15 container_name: jce-elastic + volumes: + - ${JCE_ELASTICSEARCH_DATA:-janusgraph-elasticsearch-data}:/usr/share/elasticsearch/data/ environment: - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "http.host=0.0.0.0" @@ -92,3 +96,5 @@ networks: jce-network: volumes: janusgraph-default-data: + janusgraph-cassandra-data: + janusgraph-elasticsearch-data: