Skip to content

Commit

Permalink
chore: configure PHP session management with Redis
Browse files Browse the repository at this point in the history
- Add configuration for PHP session handling using Redis
- Specify the session path for Redis in the docker-compose file

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Dec 12, 2024
1 parent fdde2d7 commit 1306737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/docker-compose-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1306737

Please sign in to comment.