add ganache

This commit is contained in:
Alex 2020-06-28 15:15:53 +03:00
parent acc399f26d
commit b6df4459ff
6 changed files with 22 additions and 7 deletions

View File

@ -6,7 +6,7 @@ services:
- 5000:5000
networks:
backend:
ipv4_address: 172.15.0.15
ipv4_address: 172.15.0.5
environment:
DB_MODULE: ${DB_MODULE}
DB_HOSTNAME: ${DB_HOSTNAME}

View File

@ -4,7 +4,7 @@ services:
image: elasticsearch:6.8.3
networks:
backend:
ipv4_address: 172.15.0.11
ipv4_address: 172.15.0.6
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
MAX_MAP_COUNT: "64000"
@ -16,7 +16,7 @@ services:
- 5000:5000
networks:
backend:
ipv4_address: 172.15.0.15
ipv4_address: 172.15.0.5
depends_on:
- elasticsearch
environment:

View File

@ -5,14 +5,14 @@ services:
command: mongod
networks:
backend:
ipv4_address: 172.15.0.11
ipv4_address: 172.15.0.7
aquarius:
image: oceanprotocol/aquarius:${AQUARIUS_VERSION:-stable}
ports:
- 5000:5000
networks:
backend:
ipv4_address: 172.15.0.15
ipv4_address: 172.15.0.5
depends_on:
- mongodb
environment:

10
compose-files/ganache.yml Normal file
View File

@ -0,0 +1,10 @@
version: '3'
services:
ganache:
image: trufflesuite/ganache-cli:latest
ports:
- 8545:8545
networks:
backend:
ipv4_address: 172.15.0.3

View File

@ -6,7 +6,7 @@ services:
- 8030:8030
networks:
backend:
ipv4_address: 172.15.0.17
ipv4_address: 172.15.0.4
environment:
NETWORK_URL: ${KEEPER_RPC_URL}
PARITY_URL: ${KEEPER_RPC_URL}

View File

@ -167,6 +167,7 @@ COMPOSE_FILES+=" -f ${COMPOSE_DIR}/network_volumes.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/dashboard.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/aquarius_elasticsearch.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/provider.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/ganache.yml"
DOCKER_COMPOSE_EXTRA_OPTS="${DOCKER_COMPOSE_EXTRA_OPTS:-}"
while :; do
@ -196,7 +197,11 @@ while :; do
#################################################
--no-provider)
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/provider.yml/}"
printf $COLOR_Y'Starting without Brizo...\n\n'$COLOR_RESET
printf $COLOR_Y'Starting without Provider...\n\n'$COLOR_RESET
;;
--no-ganache)
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/ganache.yml/}"
printf $COLOR_Y'Starting without Ganache...\n\n'$COLOR_RESET
;;
--no-aquarius)
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/aquarius_elasticsearch.yml/}"