From 3dbbcd05c12b2cd0fc74d1cacd5acef591456579 Mon Sep 17 00:00:00 2001 From: Leopere Date: Sun, 4 Nov 2018 20:39:55 -0500 Subject: [PATCH] Cleanup and commenting on environment variables --- chainquery/.env | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/chainquery/.env b/chainquery/.env index 09c6b99..7ecff8a 100644 --- a/chainquery/.env +++ b/chainquery/.env @@ -1,13 +1,17 @@ COMPOSE_PROJECT_NAME=chainquery -## Currently unused until start.sh gains magic powers. -RPC_USER=lbryrpc -RPC_PASSWORD=changeme -## This should be the internal container IP from which you'll be calling the RPC for Lbrycrdd from. -RPC_ALLOW_IP=10.5.1.3 -## Mysql Creds to be shared between Chainquery and Mysql container -MYSQL_SERVER=10.5.1.10 -MYSQL_USER=changeme -MYSQL_PASSWORD=changeme -MYSQL_DATABASE=chainquery -MYSQL_ROOT_PASSWORD=changeme +######################### +## Chainquery Settings ## +######################### +RPC_USER=lbryrpc ## Not super necessery to change this. +RPC_PASSWORD=changeme ## Please replace changeme. +RPC_ALLOW_IP=10.5.1.3 ## You're better off not changing this. + +################# +## Mysql Creds ## +################# +MYSQL_SERVER=10.5.1.10 ## You're better off not changing this. +MYSQL_USER=changeme ## This could be changed. +MYSQL_PASSWORD=changeme ## This could be set to something random it sets this string for both Mysql's main user and Chainquery's MysqlDSN. +MYSQL_DATABASE=chainquery ## This can stay the same. +MYSQL_ROOT_PASSWORD=changeme ## Set this to something random and obnoxious we're not using it.