mirror of
https://github.com/hanzoai/apple-health-mcp-server.git
synced 2026-11-02 07:23:18 +00:00
21 lines
547 B
Bash
Executable File
21 lines
547 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "$(docker ps -q -f name=elasticsearch-dev)" ]; then
|
|
echo "elasticsearch-dev is already running - skipping"
|
|
exit 0
|
|
fi
|
|
|
|
docker run -d \
|
|
--name elasticsearch-dev \
|
|
-e discovery.type=single-node \
|
|
-e ES_JAVA_OPTS="-Xms512m -Xmx512m" \
|
|
-e ELASTIC_PASSWORD=elastic \
|
|
-e xpack.security.enabled=true \
|
|
-e xpack.security.transport.ssl.enabled=false \
|
|
-e xpack.security.http.ssl.enabled=false \
|
|
-e bootstrap.memory_lock=true \
|
|
-e TZ=UTC \
|
|
-p 9200:9200 \
|
|
docker.elastic.co/elasticsearch/elasticsearch:9.0.3
|