[connfa-web] Let connfa use the in namespace redis service
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connfa-web] Let connfa use the in namespace redis service
- Date: Wed, 19 Jun 2019 16:35:42 +0000 (UTC)
commit a0b934e59e9e0f30d5022e4c82a16da722c7e4d2
Author: Andrea Veri <averi redhat com>
Date: Wed Jun 19 18:35:37 2019 +0200
Let connfa use the in namespace redis service
entrypoint.sh | 1 +
env | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/entrypoint.sh b/entrypoint.sh
index 3a48a36..1215d96 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -6,6 +6,7 @@ sed -i "s/CONNFA_MYSQL_HOST/${CONNFA_MYSQL_HOST}/g" /app/connfa/.env
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
php artisan migrate
php artisan password:change --name=admin --password="${CONNFA_ADMIN_PASS}"
diff --git a/env b/env
index 4a12339..9d4737f 100644
--- a/env
+++ b/env
@@ -10,11 +10,11 @@ DB_DATABASE=CONNFA_MYSQL_DB
DB_USERNAME=CONNFA_MYSQL_USER
DB_PASSWORD=CONNFA_MYSQL_PASS
-CACHE_DRIVER=file
+CACHE_DRIVER=redis
SESSION_DRIVER=file
QUEUE_DRIVER=sync
-REDIS_HOST=127.0.0.1
+REDIS_HOST=CONNFA_REDIS_SERVICE_HOST
REDIS_PASSWORD=null
REDIS_PORT=6379
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]