Files
elasticsearch-js/scripts/es-docker.sh
2019-02-18 12:59:46 +01:00

15 lines
398 B
Bash
Executable File

#!/bin/bash
exec docker run \
--rm \
-e "node.attr.testattr=test" \
-e "path.repo=/tmp" \
-e "repositories.url.allowed_urls=http://snapshot.*" \
-e "discovery.type=single-node" \
-p 9200:9200 \
docker.elastic.co/elasticsearch/elasticsearch:7.0.0-beta1
# docker.elastic.co/elasticsearch/elasticsearch:6.5.4
# -e "xpack.security.enabled=true" \
# -e "ELASTIC_PASSWORD=passw0rd" \