aboutsummaryrefslogtreecommitdiffstats
path: root/extra/docker/docker-compose.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-20 17:05:36 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-20 17:05:36 -0700
commit73cde66c9ab0bcae733097e53f1b6c4f00a8ea86 (patch)
treea5eee186e55b127082a500a2566a2f0ea0b3a712 /extra/docker/docker-compose.yml
parent2c39d0418cfc66d291acfce88fa70846ff866b68 (diff)
downloadfatcat-scholar-73cde66c9ab0bcae733097e53f1b6c4f00a8ea86.tar.gz
fatcat-scholar-73cde66c9ab0bcae733097e53f1b6c4f00a8ea86.zip
working docker-compose with elasticsearch (with plugins)
Diffstat (limited to 'extra/docker/docker-compose.yml')
-rw-r--r--extra/docker/docker-compose.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/docker/docker-compose.yml b/extra/docker/docker-compose.yml
new file mode 100644
index 0000000..514aefe
--- /dev/null
+++ b/extra/docker/docker-compose.yml
@@ -0,0 +1,15 @@
+version: '2'
+services:
+ elasticsearch:
+ build: ./elasticsearch/
+ ports:
+ - "9200:9200"
+ - "9300:9300"
+ environment:
+ cluster.name: "docker-cluster"
+ bootstrap.memory_lock: "true"
+ discovery.type: "single-node"
+ cluster.routing.allocation.disk.watermark.low: "500mb"
+ cluster.routing.allocation.disk.watermark.high: "500mb"
+ cluster.routing.allocation.disk.watermark.flood_stage: "100mb"
+ ES_JAVA_OPTS: "-Xms512m -Xmx512m"