From 4cf851a093c8bfbe622b42ce63b21f7fb5f8ddd9 Mon Sep 17 00:00:00 2001 From: Meghan Murphy Date: Wed, 26 Feb 2025 10:26:01 -0500 Subject: [PATCH] Add environment variable for M4 users (#220) Add comment and environment variable to `docker-compose.yml `for M4 users to comment out in order to run Open Crawler ### Checklists #### Pre-Review Checklist - [x] This PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check `crawler.yml.example` and `elasticsearch.yml.example`) - [x] This PR has a meaningful title - [x] This PR links to all relevant GitHub issues that it fixes or partially addresses - If there is no GitHub issue, please create it. Each PR should have a link to an issue - [ ] this PR has a thorough description - [ ] Covered the changes with automated tests - [x] Tested the changes locally - [ ] Added a label for each target release version (example: `v0.1.0`) - [ ] Considered corresponding documentation changes - [ ] Contributed any configuration settings changes to the configuration reference - [ ] Ran `make notice` if any dependencies have been added #### Changes Requiring Extra Attention - [ ] Security-related changes (encryption, TLS, SSRF, etc) - [ ] New external service dependencies added. ### Related Pull Requests ### Release Note --------- Co-authored-by: Navarone Feekery <13634519+navarone-feekery@users.noreply.github.com> --- docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 1e08320..9c08d5f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,6 +8,9 @@ services: - elastic stdin_open: true # Equivalent to -i tty: true # Required for interactive mode + # Uncomment enviroment variable if running on MacOS M4 and experiencing Java Runtime errors + # environment: + # - "_JAVA_OPTIONS=-XX:UseSVE=0" networks: elastic: