Skip to content

Commit 0ad6739

Browse files
authored
Merge pull request #3505 from OpenNeuroOrg/dev-elasticsearch
dev: Make elasticsearch container platform configurable
2 parents dce4b7b + 348d9da commit 0ad6739

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ PERSISTENT_DIR=/data
44
# macOS Development Setup - Fixes issues with elastic search container - set to ES_JAVA_OPTS=-XX:UseSVE=0 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true MEM_LIMIT=2g SECOMP="unconfined"
55
MEM_LIMIT=
66
ES_JAVA_OPTS=
7-
SECOMP=
7+
SECOMP=
8+
ES_PLATFORM=linux/amd64

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ services:
144144

145145
elasticsearch:
146146
image: docker.elastic.co/elasticsearch/elasticsearch:8.18.2
147-
platform: linux/arm64
147+
platform: ${ES_PLATFORM}
148148
environment:
149149
discovery.type: single-node
150150
cluster.routing.allocation.disk.threshold_enabled: "true"

0 commit comments

Comments
 (0)