From 0d4e77c96c1c92a2ece5b583cb8e0c86cb97d5fa Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Tue, 29 Nov 2022 12:53:56 +0200 Subject: [PATCH] make es version customizable --- compose-files/elasticsearch.yml | 2 +- start_ocean.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/compose-files/elasticsearch.yml b/compose-files/elasticsearch.yml index 029ef91..e101c78 100644 --- a/compose-files/elasticsearch.yml +++ b/compose-files/elasticsearch.yml @@ -1,7 +1,7 @@ version: '3' services: elasticsearch: - image: elasticsearch:7.14.2 + image: elasticsearch:${ELASTICSEACH_VERSION:-latest} networks: backend: ipv4_address: 172.15.0.6 diff --git a/start_ocean.sh b/start_ocean.sh index bb90847..399a9b7 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -29,6 +29,7 @@ COMPOSE_DIR="${DIR}/compose-files" # Default versions of Aquarius, Provider export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v4.2.0} +export ELASTICSEACH_VERSION=${ELASTICSEACH_VERSION:-8.5.1} export PROVIDER_VERSION=${PROVIDER_VERSION:-v1.3.10} export SUBGRAPH_VERSION=${SUBGRAPH_VERSION:-v3.0.0} export CONTRACTS_VERSION=${CONTRACTS_VERSION:-v1.1.8}