14 lines
347 B
Bash
Executable File
14 lines
347 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" \
|
|
-e "xpack.security.enabled=false" \
|
|
-p 9200:9200 \
|
|
--network=elastic \
|
|
--name=elasticsearch \
|
|
docker.elastic.co/elasticsearch/elasticsearch:5.6.15
|