Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose.yaml #5766

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

louisbrulenaudet
Copy link

@louisbrulenaudet louisbrulenaudet commented Dec 17, 2024

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 :

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.

Docker-compose updated to fix Elastic Search bug on MacOS 15.2 with M4 chip.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant