From cf106a8a34a1d11a74cdaad2310b7fe5e924678e Mon Sep 17 00:00:00 2001 From: Leopere Date: Sun, 11 Nov 2018 22:40:27 -0500 Subject: [PATCH] Added variable for debugmode in .env --- chainquery/.env | 1 + chainquery/stuff/start.sh | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chainquery/.env b/chainquery/.env index 0a52862..2ab5aea 100644 --- a/chainquery/.env +++ b/chainquery/.env @@ -4,6 +4,7 @@ COMPOSE_PROJECT_NAME=chainquery ## Chainquery Settings ## ######################### RPC_ALLOW_IP=10.5.1.3 +DEBUGMODE=false ################# ## Mysql Creds ## diff --git a/chainquery/stuff/start.sh b/chainquery/stuff/start.sh index 3bdfa70..6b96167 100755 --- a/chainquery/stuff/start.sh +++ b/chainquery/stuff/start.sh @@ -12,12 +12,13 @@ APIMYSQLDSN=$(echo "apimysqldsn=\"$MYSQL_USER:$MYSQL_PASSWORD@tcp($MYSQL_SERVER: DEBUGMODE_DEFAULT='#DEFAULT-debugmode=false' LBRYCRDURL_DEFAULT='#DEFAULT-lbrycrdurl="rpc://lbry:lbry@localhost:9245"' MYSQLDSN_DEFAULT='#DEFAULT-mysqldsn="lbry:lbry@tcp(localhost:3306)/chainquery"' -APIMYSQLDSN_DEFAULT='#DEFAULT-apihostport="0.0.0.0:6300"' +APIMYSQLDSN_DEFAULT='#DEFAULT-apimysqldsn="lbry:lbry@tcp(localhost:3306)/chainquery"' ## Add setup value variable name to this list to get processed on container start CONFIG_SETTINGS=( + DEBUGMODE LBRYCRDURL - MYSQLDSN_ + MYSQLDSN APIMYSQLDSN )