Skip to content

Commit 258ed82

Browse files
Update docker-compose.yaml (#5766)
Docker-compose updated to fix Elastic Search bug on MacOS 15.2 with M4 chip. # Description With MacOS 15.2 on M4 chips, a bug prevents Elastic Search from loading, causing Argilla to stop working. One solution was to upgrade the Elastic version by adding : ```yaml elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:8.17.0 environment: - ES_JAVA_OPTS=-Xms512m -Xmx512m -XX:UseSVE=0 - CLI_JAVA_OPTS=-XX:UseSVE=0 - node.name=elasticsearch - cluster.name=es-argilla-local - discovery.type=single-node - cluster.routing.allocation.disk.threshold_enabled=false - xpack.security.enabled=false ulimits: memlock: soft: -1 hard: -1 networks: - argilla volumes: - elasticdata:/usr/share/elasticsearch/data/ ``` Closes #5760 **Type of change** - Bug fix (non-breaking change which fixes an issue) **How Has This Been Tested** The tests were carried out manually, using a complete annotation with the Python SDK.
1 parent a9284f7 commit 258ed82

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/deployments/docker/docker-compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ services:
5858
- postgresdata:/var/lib/postgresql/data
5959

6060
elasticsearch:
61-
image: docker.elastic.co/elasticsearch/elasticsearch:8.12.2
61+
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.0
6262
environment:
63+
- ES_JAVA_OPTS=-Xms512m -Xmx512m -XX:UseSVE=0
64+
- CLI_JAVA_OPTS=-XX:UseSVE=0
6365
- node.name=elasticsearch
6466
- cluster.name=es-argilla-local
6567
- discovery.type=single-node
66-
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
6768
- cluster.routing.allocation.disk.threshold_enabled=false
6869
- xpack.security.enabled=false
6970
ulimits:

0 commit comments

Comments
 (0)