2019-01-24 10:26:42 -05:00
|
|
|
# Only used for testing the docker images
|
|
|
|
version: '3'
|
|
|
|
services:
|
2019-07-11 08:04:25 -04:00
|
|
|
elasticsearch-default-1:
|
2019-04-12 05:31:30 -04:00
|
|
|
image: elasticsearch:test
|
2021-01-30 01:32:49 -05:00
|
|
|
environment:
|
|
|
|
- node.name=elasticsearch-default-1
|
2019-07-11 08:04:25 -04:00
|
|
|
- cluster.initial_master_nodes=elasticsearch-default-1,elasticsearch-default-2
|
2021-01-30 01:32:49 -05:00
|
|
|
- discovery.seed_hosts=elasticsearch-default-2:9300
|
2019-01-24 10:26:42 -05:00
|
|
|
- cluster.name=elasticsearch-default
|
2019-07-11 08:04:25 -04:00
|
|
|
- bootstrap.memory_lock=true
|
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
|
|
- path.repo=/tmp/es-repo
|
|
|
|
- node.attr.testattr=test
|
|
|
|
- cluster.routing.allocation.disk.watermark.low=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.high=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.flood_stage=1b
|
2021-01-30 01:32:49 -05:00
|
|
|
- node.store.allow_mmap=false
|
|
|
|
volumes:
|
2019-07-11 08:04:25 -04:00
|
|
|
- ./build/repo:/tmp/es-repo
|
|
|
|
- ./build/certs/testnode.jks:/usr/share/elasticsearch/config/testnode.jks
|
|
|
|
- ./build/logs/default-1:/usr/share/elasticsearch/logs
|
|
|
|
- ./docker-test-entrypoint.sh:/docker-test-entrypoint.sh
|
2019-01-24 10:26:42 -05:00
|
|
|
ports:
|
|
|
|
- "9200"
|
2019-07-11 08:04:25 -04:00
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
entrypoint: /docker-test-entrypoint.sh
|
|
|
|
elasticsearch-default-2:
|
|
|
|
image: elasticsearch:test
|
2021-01-30 01:32:49 -05:00
|
|
|
environment:
|
2019-07-11 08:04:25 -04:00
|
|
|
- node.name=elasticsearch-default-2
|
|
|
|
- cluster.initial_master_nodes=elasticsearch-default-1,elasticsearch-default-2
|
2021-01-30 01:32:49 -05:00
|
|
|
- discovery.seed_hosts=elasticsearch-default-1:9300
|
2019-07-11 08:04:25 -04:00
|
|
|
- cluster.name=elasticsearch-default
|
|
|
|
- bootstrap.memory_lock=true
|
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
|
|
- path.repo=/tmp/es-repo
|
|
|
|
- node.attr.testattr=test
|
|
|
|
- cluster.routing.allocation.disk.watermark.low=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.high=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.flood_stage=1b
|
2021-01-30 01:32:49 -05:00
|
|
|
- node.store.allow_mmap=false
|
|
|
|
volumes:
|
2019-07-11 08:04:25 -04:00
|
|
|
- ./build/repo:/tmp/es-repo
|
|
|
|
- ./build/certs/testnode.jks:/usr/share/elasticsearch/config/testnode.jks
|
|
|
|
- ./build/logs/default-2:/usr/share/elasticsearch/logs
|
|
|
|
- ./docker-test-entrypoint.sh:/docker-test-entrypoint.sh
|
|
|
|
ports:
|
|
|
|
- "9200"
|
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
entrypoint: /docker-test-entrypoint.sh
|
|
|
|
elasticsearch-oss-1:
|
|
|
|
image: elasticsearch:test
|
2021-01-30 01:32:49 -05:00
|
|
|
environment:
|
|
|
|
- node.name=elasticsearch-oss-1
|
2019-07-11 08:04:25 -04:00
|
|
|
- cluster.initial_master_nodes=elasticsearch-oss-1,elasticsearch-oss-2
|
2021-01-30 01:32:49 -05:00
|
|
|
- discovery.seed_hosts=elasticsearch-oss-2:9300
|
2019-07-11 08:04:25 -04:00
|
|
|
- cluster.name=elasticsearch-oss
|
|
|
|
- bootstrap.memory_lock=true
|
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
|
|
- path.repo=/tmp/es-repo
|
|
|
|
- node.attr.testattr=test
|
|
|
|
- cluster.routing.allocation.disk.watermark.low=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.high=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.flood_stage=1b
|
2021-01-30 01:32:49 -05:00
|
|
|
- node.store.allow_mmap=false
|
|
|
|
volumes:
|
2019-07-11 08:04:25 -04:00
|
|
|
- ./build/oss-repo:/tmp/es-repo
|
|
|
|
- ./build/logs/oss-1:/usr/share/elasticsearch/logs
|
|
|
|
ports:
|
|
|
|
- "9200"
|
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
elasticsearch-oss-2:
|
|
|
|
image: elasticsearch:test
|
2021-01-30 01:32:49 -05:00
|
|
|
environment:
|
2019-07-11 08:04:25 -04:00
|
|
|
- node.name=elasticsearch-oss-2
|
|
|
|
- cluster.initial_master_nodes=elasticsearch-oss-1,elasticsearch-oss-2
|
2021-01-30 01:32:49 -05:00
|
|
|
- discovery.seed_hosts=elasticsearch-oss-1:9300
|
2019-01-24 10:26:42 -05:00
|
|
|
- cluster.name=elasticsearch-oss
|
2019-07-11 08:04:25 -04:00
|
|
|
- bootstrap.memory_lock=true
|
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
|
|
- path.repo=/tmp/es-repo
|
|
|
|
- node.attr.testattr=test
|
|
|
|
- cluster.routing.allocation.disk.watermark.low=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.high=1b
|
|
|
|
- cluster.routing.allocation.disk.watermark.flood_stage=1b
|
2021-01-30 01:32:49 -05:00
|
|
|
- node.store.allow_mmap=false
|
|
|
|
volumes:
|
2019-07-11 08:04:25 -04:00
|
|
|
- ./build/oss-repo:/tmp/es-repo
|
|
|
|
- ./build/logs/oss-2:/usr/share/elasticsearch/logs
|
2019-01-24 10:26:42 -05:00
|
|
|
ports:
|
|
|
|
- "9200"
|
2019-07-11 08:04:25 -04:00
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|