Files
elasticsearch-js/scripts/es-docker.sh
2019-04-17 14:13:04 +02:00

13 lines
308 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 \
--network=elastic \
--name=elasticsearch \
docker.elastic.co/elasticsearch/elasticsearch:7.0.0