1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 09:47:04 +01:00

Merge pull request #340 from oceanprotocol/feature/es_updates

Feature/es updates for 8.5.3
This commit is contained in:
Alex Coseru 2023-01-06 09:54:04 +02:00 committed by GitHub
commit d89fc078bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -30,5 +30,6 @@ services:
EVENTS_RPC: "http://172.15.0.3:8545"
EVENTS_ALLOW: "0"
RUN_EVENTS_MONITOR: "1"
AQUARIUS_URL: http://172.15.0.5:5000
volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/

View File

@ -2,6 +2,8 @@ version: '3'
services:
elasticsearch:
image: elasticsearch:${ELASTICSEARCH_VERSION:-latest}
ports:
- 9200:9200
networks:
backend:
ipv4_address: 172.15.0.6
@ -9,3 +11,6 @@ services:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
MAX_MAP_COUNT: "64000"
discovery.type: "single-node"
ELASTIC_PASSWORD: "changeme"
xpack.security.enabled: "false"
xpack.security.http.ssl.enabled: "false"

4
start_ocean.sh Executable file → Normal file
View File

@ -29,7 +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 ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION:-8.5.1}
export PROVIDER_VERSION=${PROVIDER_VERSION:-v1.3.12}
export SUBGRAPH_VERSION=${SUBGRAPH_VERSION:-v3.0.0}
export CONTRACTS_VERSION=${CONTRACTS_VERSION:-v1.1.8}
@ -88,7 +88,7 @@ export CONTRACTS_NETWORK_NAME="development"
# Default Aquarius parameters: use Elasticsearch
export DB_MODULE="elasticsearch"
export DB_HOSTNAME="172.15.0.6"
export DB_HOSTNAME="http://172.15.0.6"
export DB_PORT="9200"
export DB_USERNAME="elastic"
export DB_PASSWORD="changeme"