From 404ebff8a814a5b9a253702e48a07a8a842c282b Mon Sep 17 00:00:00 2001 From: delvedor Date: Tue, 19 Feb 2019 08:25:42 +0100 Subject: [PATCH] Updated .ci conf --- .ci/Dockerfile | 2 +- .ci/docker-compose.yml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.ci/Dockerfile b/.ci/Dockerfile index 04ff3f55d..695addb3d 100644 --- a/.ci/Dockerfile +++ b/.ci/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_JS_VERSION=8 +ARG NODE_JS_VERSION=10 FROM node:${NODE_JS_VERSION} # Create app directory diff --git a/.ci/docker-compose.yml b/.ci/docker-compose.yml index a9128c62e..d8a3b6c38 100644 --- a/.ci/docker-compose.yml +++ b/.ci/docker-compose.yml @@ -1,12 +1,12 @@ version: '3.2' services: client: - image: docker.elastic.co/clients/elasticsearch-js:${NODE_JS_VERSION:-8} + image: docker.elastic.co/clients/elasticsearch-js:${NODE_JS_VERSION:-10} build: context: .. dockerfile: .ci/Dockerfile args: - NODE_JS_VERSION: ${NODE_JS_VERSION:-8} + NODE_JS_VERSION: ${NODE_JS_VERSION:-10} environment: - "TEST_ES_SERVER=http://elasticsearch:9200" volumes: @@ -27,12 +27,11 @@ services: - esnet environment: - path.repo=/tmp - - "repositories.url.allowed_urls=http://*" + - "repositories.url.allowed_urls=http://snapshot.*" - node.attr.testattr=test - bootstrap.memory_lock=false - # - "discovery.zen.ping.unicast.hosts=elasticsearch" - "discovery.type=single-node" - - "http.max_content_length=5mb" + - "ES_JAVA_OPTS=-Xms512m -Xmx512m" networks: esnet: volumes: