From 4f442ca99d21d12903f993a5eda1fecfd6df8761 Mon Sep 17 00:00:00 2001 From: Leopere Date: Wed, 3 Oct 2018 13:45:32 -0400 Subject: [PATCH] Adding .env file section for MariaDB --- chainquery/.env | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chainquery/.env b/chainquery/.env index f8ce0dc..ef68cee 100644 --- a/chainquery/.env +++ b/chainquery/.env @@ -3,3 +3,8 @@ RPC_USER=${RPC_USER=lbryrpc} RPC_PASSWORD=${RPC_PASSWORD:-$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)} ## This should be the internal container IP from which you'll be calling the RPC for Lbrycrdd from. RPC_ALLOW_IP=${RPC_ALLOW_IP:-10.10.0.2} +MYSQL_SERVER=${MYSQL_SERVER:-10.10.0.10} +MYSQL_USER=${MYSQL_USER:-mariadb} +MYSQL_PASSWORD=${MYSQL_PASSWORD:-mariadb} +MYSQL_DATABASE=${MYSQL_DATABASE:-mariadb} +MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-mariadb}