[connfa-web] Land a password as well



commit 9870a24e953dcd5e8a4adb0ea882f0df61cc85ff
Author: Andrea Veri <averi redhat com>
Date:   Wed Jun 19 19:51:09 2019 +0200

    Land a password as well

 entrypoint.sh | 1 +
 env           | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/entrypoint.sh b/entrypoint.sh
index 6f8f717..1a392d7 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -7,6 +7,7 @@ sed -i "s/CONNFA_MYSQL_DB/${CONNFA_MYSQL_DB}/g" /app/connfa/.env
 sed -i "s/CONNFA_MYSQL_USER/${CONNFA_MYSQL_USER}/g" /app/connfa/.env
 sed -i "s/CONNFA_MYSQL_PASS/${CONNFA_MYSQL_PASS}/g" /app/connfa/.env
 sed -i "s/CONNFA_REDIS_SERVICE_HOST/${REDIS_SERVICE_HOST}/g" /app/connfa/.env
+sed -i "s/CONNFA_REDIS_PASSWORD/${CONNFA_REDIS_PASSWORD}/g" /app/connfa/.env
 
 # Needed as REDIS_PORT is also a container env var
 unset REDIS_PORT
diff --git a/env b/env
index 9d4737f..73a03bc 100644
--- a/env
+++ b/env
@@ -15,7 +15,7 @@ SESSION_DRIVER=file
 QUEUE_DRIVER=sync
 
 REDIS_HOST=CONNFA_REDIS_SERVICE_HOST
-REDIS_PASSWORD=null
+REDIS_PASSWORD=CONNFA_REDIS_PASSWORD
 REDIS_PORT=6379
 
 MAIL_DRIVER=smtp


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]