From 13067371e8efdf6e06cefc9f765581d97b689b3d Mon Sep 17 00:00:00 2001 From: ysicing Date: Thu, 12 Dec 2024 16:30:51 +0800 Subject: [PATCH] chore: configure PHP session management with Redis - Add configuration for PHP session handling using Redis - Specify the session path for Redis in the docker-compose file Signed-off-by: ysicing --- hack/docker-compose-cache.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/docker-compose-cache.yml b/hack/docker-compose-cache.yml index e5305bb..efce151 100644 --- a/hack/docker-compose-cache.yml +++ b/hack/docker-compose-cache.yml @@ -66,6 +66,8 @@ services: - ZT_MYSQL_USER=root - ZT_MYSQL_PASSWORD=pass4Zentao - ZT_MYSQL_DB=zentao + - PHP_SESSION_TYPE=redis + - PHP_SESSION_PATH=tcp://zentao-cache:6379?auth=pass4Zentao - PHP_EXT_REDIS=true - ZT_REDIS_HOST=zentao-cache - ZT_REDIS_PORT=6379