mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-25 11:28:45 +01:00
add ganache
This commit is contained in:
parent
acc399f26d
commit
b6df4459ff
@ -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}
|
||||
|
@ -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:
|
||||
|
@ -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
10
compose-files/ganache.yml
Normal 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
|
||||
|
@ -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}
|
||||
|
@ -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/}"
|
||||
|
Loading…
Reference in New Issue
Block a user