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

Rename subgraph log level env var.

This commit is contained in:
Maria Carmina 2022-09-22 01:42:04 +03:00
parent b0bbed84be
commit 99b85033a2
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ services:
postgres_db: graph-node postgres_db: graph-node
ipfs: '172.15.0.16:5001' ipfs: '172.15.0.16:5001'
ethereum: 'development:${NETWORK_RPC_URL}' ethereum: 'development:${NETWORK_RPC_URL}'
RUST_LOG: ${RUST_LOG} SUBGRAPH_LOG_LEVEL: ${SUBGRAPH_LOG_LEVEL}
postgres: postgres:
image: postgres image: postgres
ports: ports:

View File

@ -234,7 +234,7 @@ while :; do
printf $COLOR_Y'Starting without IPFS...\n\n'$COLOR_RESET printf $COLOR_Y'Starting without IPFS...\n\n'$COLOR_RESET
;; ;;
--with-thegraph) --with-thegraph)
export RUST_LOG=${RUST_LOG:-INFO} export SUBGRAPH_LOG_LEVEL=${SUBGRAPH_LOG_LEVEL:-INFO}
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/thegraph.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/thegraph.yml"
printf $COLOR_Y'Starting with TheGraph...\n\n'$COLOR_RESET printf $COLOR_Y'Starting with TheGraph...\n\n'$COLOR_RESET
;; ;;