Skip to content

Commit

Permalink
Merge pull request #743 from TerriaJS/fix-elasticsearch
Browse files Browse the repository at this point in the history
Made snapshots directory work in ES again.
  • Loading branch information
AlexGilleran authored Mar 29, 2018
2 parents 01004a2 + db5b8b7 commit 5bf4433
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
9 changes: 4 additions & 5 deletions deploy/helm/search-data-gov-au.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ gateway:
requests:
cpu: 200m
memory: 200Mi
indexer:
resources:
requests:
cpu: 200m
memory: 200Mi
preview-map:
replicas: 2
resources:
Expand Down Expand Up @@ -158,6 +153,10 @@ indexer:
# useGcsSnapshots: true
# gcsSnapshotBucket: "magda-es-snapshots"
# gcsSnapshotServiceAccount: "_default"
resources:
requests:
cpu: 200m
memory: 200Mi
feedback-api:
gitHubIssuesUrl: "https://api.github.com/repos/TerriaJS/Magda-Feedback/issues"
replicas: 2
Expand Down
8 changes: 4 additions & 4 deletions magda-elastic-search/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM quay.io/pires/docker-elasticsearch-kubernetes:5.6.3

VOLUME /snapshots
ADD component/elasticsearch.yml /elasticsearch/config/elasticsearch.yml
ADD component/setup.sh /setup.sh
RUN apk add --no-cache --update curl procps

ENV REPO /snapshots

ADD component/elasticsearch.yml /elasticsearch/config/elasticsearch.yml
CMD ["/setup.sh"]
2 changes: 1 addition & 1 deletion magda-elastic-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"config": {
"docker": {
"name": "data61/magda-elasticsearch",
"include": "Dockerfile elasticsearch.yml"
"include": "Dockerfile elasticsearch.yml setup.sh"
}
},
"devDependencies": {
Expand Down

0 comments on commit 5bf4433

Please sign in to comment.