Commit 258ed82
authored
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
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | | - | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments