mirror of
https://github.com/nextcloud/docker.git
synced 2026-04-06 06:11:46 +02:00
feat(Dockerfile-debian): add env-substituted Redis session settings
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
5be47acc89
commit
95b63cd0e3
@ -120,6 +120,13 @@ RUN { \
|
||||
echo 'memory_limit=${PHP_MEMORY_LIMIT}'; \
|
||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||
echo; \
|
||||
echo '; Use Redis for PHP sessions when configured by the entrypoint'; \
|
||||
echo 'session.save_handler=${PHP_REDIS_SESSION_HANDLER}'; \
|
||||
echo 'session.save_path="${PHP_REDIS_SESSION_SAVE_PATH}"'; \
|
||||
echo 'redis.session.locking_enabled=${PHP_REDIS_SESSION_LOCKING_ENABLED}'; \
|
||||
echo 'redis.session.lock_retries=${PHP_REDIS_SESSION_LOCK_RETRIES}'; \
|
||||
echo 'redis.session.lock_wait_time=${PHP_REDIS_SESSION_LOCK_WAIT_TIME}'; \
|
||||
} > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; \
|
||||
\
|
||||
mkdir /var/www/data; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user