@@ -23,7 +23,6 @@ services:
2323
2424 elasticsearch-oss :
2525 image : docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-5.6.15}
26- - elasticsearch
2726 volumes :
2827 - esvol:/tmp
2928 networks :
@@ -33,63 +32,11 @@ services:
3332 - " repositories.url.allowed_urls=http://snapshot.*"
3433 - node.attr.testattr=test
3534 - bootstrap.memory_lock=false
35+ - " xpack.security.enabled=false"
3636 - " discovery.type=single-node"
3737 - " ES_JAVA_OPTS=-Xms512m -Xmx512m"
3838
39- client-platinum :
40- image : docker.elastic.co/clients/elasticsearch-js:${NODE_JS_VERSION:-10}
41- build :
42- context : ..
43- dockerfile : .ci/Dockerfile
44- args :
45- NODE_JS_VERSION : ${NODE_JS_VERSION:-10}
46- environment :
47- - " TEST_ES_SERVER=https://elastic:changeme@elasticsearch-platinum:9200"
48- volumes :
49- - ..:/usr/src/app
50- # This will mount the node_modules directory
51- # to the host machine using the buildtime directory.
52- - /usr/src/app/node_modules
53- - esvol:/tmp
54- networks :
55- - esnet-platinum
56- depends_on :
57- - elasticsearch-platinum
58- # there is not need to run again also the unit test
59- command : ["npm", "run", "test:integration"]
60-
61- elasticsearch-platinum :
62- image : docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:5.6.15}
63- ports :
64- - " 9200:9200"
65- networks :
66- - esnet-platinum
67- environment :
68- - " node.attr.testattr=test"
69- - " path.repo=/tmp"
70- - " repositories.url.allowed_urls=http://snapshot.*"
71- - " discovery.type=single-node"
72- - " ES_JAVA_OPTS=-Xms1g -Xmx1g"
73- - " ELASTIC_PASSWORD=changeme"
74- - " xpack.security.enabled=true"
75- - " xpack.license.self_generated.type=trial"
76- - " xpack.security.http.ssl.enabled=true"
77- - " xpack.security.http.ssl.verification_mode=certificate"
78- - " xpack.security.http.ssl.key=certs/testnode.key"
79- - " xpack.security.http.ssl.certificate=certs/testnode.crt"
80- - " xpack.security.http.ssl.certificate_authorities=certs/ca.crt"
81- - " xpack.security.transport.ssl.enabled=true"
82- - " xpack.security.transport.ssl.key=certs/testnode.key"
83- - " xpack.security.transport.ssl.certificate=certs/testnode.crt"
84- - " xpack.security.transport.ssl.certificate_authorities=certs/ca.crt"
85- volumes :
86- - " ./certs/testnode.crt:/usr/share/elasticsearch/config/certs/testnode.crt"
87- - " ./certs/testnode.key:/usr/share/elasticsearch/config/certs/testnode.key"
88- - " ./certs/ca.crt:/usr/share/elasticsearch/config/certs/ca.crt"
89-
9039networks :
91- # we need two networks otherwise the two ES instances will join each other
9240 esnet-oss :
93- esnet-platinum :
9441volumes :
9542 esvol :
0 commit comments