1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 17:50:13 +01:00

Update compose files to match new style in feature/optimize branch and introduce a new env var for setting log level in both brizo and ocean_events_handler

This commit is contained in:
ssallam 2019-08-28 15:10:30 +02:00
parent e534c815fb
commit 6ce139e801
3 changed files with 14 additions and 8 deletions

View File

@ -19,7 +19,8 @@ services:
SECRET_STORE_URL: ${SECRET_STORE_URL} SECRET_STORE_URL: ${SECRET_STORE_URL}
PARITY_ADDRESS: ${PUBLISHER_ADDRESS} PARITY_ADDRESS: ${PUBLISHER_ADDRESS}
PARITY_PASSWORD: ${PUBLISHER_PASSWORD} PARITY_PASSWORD: ${PUBLISHER_PASSWORD}
PARITY_KEYFILE: "/parity-data/keys/validator0.json" PARITY_KEYFILE: ${PUBLISHER_KEYFILE}
LOG_LEVEL: ${BRIZO_LOG_LEVEL}
volumes: volumes:
- ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro - ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro
- ../networks/spree/authorities/:/parity-data/keys - ../networks/spree/authorities/:/parity-data/keys

View File

@ -9,12 +9,13 @@ services:
- keeper-node - keeper-node
environment: environment:
KEEPER_URL: ${KEEPER_RPC_URL} KEEPER_URL: ${KEEPER_RPC_URL}
PARITY_URL: ${KEEPER_RPC_URL} PARITY_URL: ${SIGNING_NODE_URL}
SECRET_STORE_URL: "http://secret-store:12001" SECRET_STORE_URL: ${SECRET_STORE_URL}
PARITY_ADDRESS: "0x00bd138abd70e2f00903268f3db08f2d25677c9e" PARITY_ADDRESS: ${PUBLISHER_ADDRESS}
PARITY_PASSWORD: "node0" PARITY_PASSWORD: ${PUBLISHER_PASSWORD}
PARITY_KEYFILE: "/parity-data/keys/validator0.json" PARITY_KEYFILE: ${PUBLISHER_KEYFILE}
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS} LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS}
LOG_LEVEL: ${EVENTS_HANDLER_LOG_LEVEL}
volumes: volumes:
- ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro - ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro
- ../networks/spree/authorities/:/parity-data/keys - ../networks/spree/authorities/:/parity-data/keys

View File

@ -64,10 +64,14 @@ export DB_CLIENT_KEY=""
export DB_CLIENT_CERT="" export DB_CLIENT_CERT=""
CHECK_ELASTIC_VM_COUNT=true CHECK_ELASTIC_VM_COUNT=true
export BRIZO_LOG_LEVEL=DEBUG
export EVENTS_HANDLER_LOG_LEVEL=DEBUG
# Set a valid parity address and password to have seamless interaction with the `keeper` # Set a valid parity address and password to have seamless interaction with the `keeper`
# it has to exist on the secret store signing node and as well on the keeper node # it has to exist on the secret store signing node and as well on the keeper node
export PUBLISHER_ADDRESS=0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0 export PUBLISHER_ADDRESS=0x00bd138abd70e2f00903268f3db08f2d25677c9e
export PUBLISHER_PASSWORD=secret export PUBLISHER_PASSWORD=node0
export PUBLISHER_KEYFILE="/parity-data/keys/validator0.json"
export SECRET_STORE_URL=http://secret-store:12001 export SECRET_STORE_URL=http://secret-store:12001
export SIGNING_NODE_URL=http://secret-store-signing-node:8545 export SIGNING_NODE_URL=http://secret-store-signing-node:8545