ACED-IDP / compose-services-training

Learn about Gen3 using Docker compose
Apache License 2.0
1 stars 1 forks source link

Elastic search image performs poorly on mac silicon #26

Closed bwalsh closed 1 year ago

bwalsh commented 1 year ago

elasticsearch mac

The released build for elasticsearch quay.io/cdis/elasticsearch-oss:6.8.12 tends to run poorly on mac silicon.

Symptoms include: cpu utilization at 100% timeouts not starting

This custom build targets mac silicon. see https://stackoverflow.com/a/70713284

getting started

Make this change to docker compose.

commandline esproxy-service:

Stop and rm the exiting elastic search.

dc stop esproxy-service ; dc rm -f esproxy-service ;

Build and launch the new image commandline dc build esproxy-service ; dc up -d esproxy-service