-
Notifications
You must be signed in to change notification settings - Fork 17
/
test_6x.yml
43 lines (39 loc) · 1.08 KB
/
test_6x.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3'
services:
elasticsearch:
container_name: graphene_elastic_test_elasticsearch6x
build:
context: .
dockerfile: ./docker/elasticsearch/Dockerfile_6x
volumes:
- estest6xdata2:/usr/share/elasticsearch/data
ports:
- 9200:9200
- 9300:9300
environment:
# - bootstrap.memory_lock=true
- discovery.type=single-node
- xpack.security.enabled=false
- cluster.routing.allocation.disk.watermark.low=97%
- cluster.routing.allocation.disk.watermark.high=98%
- cluster.routing.allocation.disk.watermark.flood_stage=99%
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
test:
stdin_open: true
tty: true
container_name: graphene_elastic_test_test6x
build:
context: .
dockerfile: ./docker/backend/Dockerfile_test_6x
volumes:
- .:/code
entrypoint:
- /code/docker/backend/test_6x.sh
depends_on:
- elasticsearch
links:
- elasticsearch:elasticsearch
environment:
- 'ELASTICSEARCH_CONNECTION={"hosts": ["elasticsearch"], "timeout": 5}'
volumes:
estest6xdata2: