[connfa-web] REDIS_PORT is also a container env var
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connfa-web] REDIS_PORT is also a container env var
- Date: Wed, 19 Jun 2019 17:48:44 +0000 (UTC)
commit 54b36d1d94d95e4aa08e9b3a4eb7b72a01ea06a2
Author: Andrea Veri <averi redhat com>
Date: Wed Jun 19 19:48:35 2019 +0200
REDIS_PORT is also a container env var
entrypoint.sh | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/entrypoint.sh b/entrypoint.sh
index 1215d96..6f8f717 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -8,6 +8,9 @@ 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
+# Needed as REDIS_PORT is also a container env var
+unset REDIS_PORT
+
php artisan migrate
php artisan password:change --name=admin --password="${CONNFA_ADMIN_PASS}"
exec httpd -DFOREGROUND
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]