Skip to content

Commit b900c13

Browse files
authored
Update .env
Sync .env with upstream : LycheeOrg/Lychee#3004 >> Now : CACHE_DRIVER=redis
1 parent f786816 commit b900c13

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

conf/.env

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,21 @@ LYCHEE_DIST_URL="__PATH__/dist/"
8686
# Support for token based authentication used by API requests. Enabled by default.
8787
# ENABLE_TOKEN_AUTH=true
8888

89-
CACHE_DRIVER=file
89+
# Lychee supports both Redis and file caching.
90+
# To use Redis, set CACHE_DRIVER to redis and configure the Redis connection.
91+
CACHE_DRIVER=redis
92+
93+
# REDIS_URL=redis://<username>:<password>@<host>:<port>
94+
95+
# If you use Redis as cache driver, we strongly recommend
96+
# to disable it for your Log Viewer.
97+
# Should redis crash, you will no longer be able to access your logs.
98+
LOG_VIEWER_CACHE_DRIVER=file
99+
100+
# Session configuration
90101
SESSION_DRIVER=file
91102
SESSION_LIFETIME=120
103+
92104
# `sync` if jobs needs to be executed live (default) or `database` if they can be defered.
93105
QUEUE_CONNECTION=sync
94106

0 commit comments

Comments
 (0)