summaryrefslogtreecommitdiffstats
path: root/extra/docker/docker-compose.yml
blob: 514aefe82c797cd70015692b47f23bf7ebda9861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"