Skip to content

Commit 0005447

Browse files
author
Phil Varner
authored
Merge pull request #101 from stac-utils/pv/add-config-for-snapshots
add local config to allow for snapshot/restore from local filesystem
2 parents c0f875d + ffdd4cb commit 0005447

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
elasticsearch/snapshots/
2+
13
# Byte-compiled / optimized / DLL files
24
__pycache__/
35
*.py[cod]

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ services:
3636
ES_JAVA_OPTS: -Xms512m -Xmx1g
3737
volumes:
3838
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
39+
- ./elasticsearch/snapshots:/usr/share/elasticsearch/snapshots
3940
ports:
4041
- "9200:9200"

elasticsearch/config/elasticsearch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ transport.host: 0.0.0.0
66
discovery.type: single-node
77
http.port: 9200
88

9+
path:
10+
repo:
11+
- /usr/share/elasticsearch/snapshots
12+
913
## License
1014
xpack.license.self_generated.type: basic
1115

0 commit comments

Comments
 (0)