Last active
February 27, 2018 12:11
-
-
Save bcachet/167aaba15a0ecab4a72f56bd54b1937c to your computer and use it in GitHub Desktop.
Elasticsearch 2.4.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
elasticsearch: | |
build: | |
context: . | |
dockerfile: ./Dockerfile | |
hostname: elasticsearch | |
volumes: | |
- "./elasticsearch.yml:/etc/elasticsearch/elasticsearch.yml" | |
ports: | |
- "9200:9200" | |
- "9300:9300" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM elasticsearch:2.4.6 | |
RUN bin/plugin install cloud-aws |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose up | |
curl -XPUT http://localhost:9200/_snapshot/my_snapshot -H 'Content-Type: application/json' -d '{"type": "s3", "settings": { | |
"bucket": "MODIFY_ME_bucket-name", | |
"endpoint" : "https://sos-ch-dk-2.exo.io", | |
"region": "ch-dk-2", | |
"access_key": "MODIFY_ME_YourAccessKey", | |
"secret_key": "MODIFY_ME_YourSecretKey"}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment