diff --git a/README.md b/README.md index 26ff7c2..15b0f3e 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ The default versions are always a combination of component versions which are co | ganache | ocean-contracts | latest | 172.15.0.3 | 8545 -> 8545 | | ocean-contracts | | v1.1.8 | 172.15.0.14 | | | Aquarius | | v4.2.0 | 172.15.0.5 | 5000 -> 5000 | -| Elasticsearch | Aquarius | 6.8.3 | 172.15.0.6 | | +| Elasticsearch | Aquarius | 7.14.2 | 172.15.0.6 | | | Provider | | v1.3.10 | 172.15.0.4 | 8030 -> 8030 | | Provider2 | | v1.3.10 | 172.15.0.7 | 8030 -> 8030 | | RBAC Server | | main | 172.15.0.8 | 3000 -> 3000 | @@ -87,6 +87,7 @@ You can override the Docker image tag used for a particular component by setting - `PROVIDER_VERSION` - `CONTRACTS_VERSION` - `RBAC_VERSION` +- `ELASTICSEARCH_VERSION` For example: diff --git a/compose-files/elasticsearch.yml b/compose-files/elasticsearch.yml index 029ef91..c8c4e19 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:${ELASTICSEARCH_VERSION:-latest} networks: backend: ipv4_address: 172.15.0.6 diff --git a/start_ocean.sh b/start_ocean.sh index bb90847..d774213 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 ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION:-7.14.2} export PROVIDER_VERSION=${PROVIDER_VERSION:-v1.3.10} export SUBGRAPH_VERSION=${SUBGRAPH_VERSION:-v3.0.0} export CONTRACTS_VERSION=${CONTRACTS_VERSION:-v1.1.8}