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

Update brizo and events_handler docker-compose files

This commit is contained in:
ssallam 2019-08-28 14:50:58 +02:00
parent 0785ba7028
commit d64c794880
3 changed files with 29 additions and 5 deletions

View File

@ -14,6 +14,8 @@ services:
environment:
KEEPER_URL: ${KEEPER_RPC_URL}
PARITY_URL: ${KEEPER_RPC_URL}
PARITY_KEYFILE: "/parity-data/keys/validator0.json"
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS}
volumes:
- ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro
- ../networks/spree/authorities/:/parity-data/keys

View File

@ -0,0 +1,20 @@
version: '3'
services:
events-handler:
image: oceanprotocol/ocean-events-handler:v0.1.0
networks:
backend:
ipv4_address: 172.15.0.22
depends_on:
- keeper-node
environment:
KEEPER_URL: ${KEEPER_RPC_URL}
PARITY_URL: ${KEEPER_RPC_URL}
SECRET_STORE_URL: "http://secret-store:12001"
PARITY_ADDRESS: "0x00bd138abd70e2f00903268f3db08f2d25677c9e"
PARITY_PASSWORD: "node0"
PARITY_KEYFILE: "/parity-data/keys/validator0.json"
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS}
volumes:
- ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro
- ../networks/spree/authorities/:/parity-data/keys

View File

@ -15,7 +15,7 @@ COMPOSE_DIR="${DIR}/compose-files"
# Default versions of Aquarius, Brizo, Keeper Contracts and Pleuston
export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v0.3.8}
export BRIZO_VERSION=${BRIZO_VERSION:-v0.3.14}
export EVENTS_MONITOR_VERSION=$(EVENTS_MONITOR_VERSION:-v0.1.0)
export EVENTS_HANDLER_VERSION=${EVENTS_HANDLER_VERSION:v0.1.0}
export KEEPER_VERSION=${KEEPER_VERSION:-v0.10.3}
export PLEUSTON_VERSION=${PLEUSTON_VERSION:-v0.5.0}
export FAUCET_VERSION=${FAUCET_VERSION:-v0.2.6}
@ -146,7 +146,7 @@ COMPOSE_FILES+=" -f ${COMPOSE_DIR}/network_volumes.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pleuston.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/aquarius_elasticsearch.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/brizo.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/events_monitor.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/events_handler.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/secret_store.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/faucet.yml"
@ -167,7 +167,7 @@ while :; do
--latest)
export AQUARIUS_VERSION="latest"
export BRIZO_VERSION="latest"
export EVENTS_MONITOR_VERSION="latest"
export EVENTS_HANDLER_VERSION="latest"
export KEEPER_VERSION="latest"
# TODO: Change label on Docker to refer `latest` to `master`
export PLEUSTON_VERSION="master"
@ -185,8 +185,10 @@ while :; do
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/pleuston.yml/}"
printf $COLOR_Y'Starting without Pleuston...\n\n'$COLOR_RESET
;;
--no-events-monitor)
--no-events-handler)
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/events_handler.yml/}"
printf $COLOR_Y'Starting without EventsHandler...\n\n'$COLOR_RESET
;;
--no-brizo)
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/brizo.yml/}"
printf $COLOR_Y'Starting without Brizo...\n\n'$COLOR_RESET