mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-01 23:04:15 +02:00
15 lines
446 B
Django/Jinja
15 lines
446 B
Django/Jinja
<?php
|
|
|
|
# Implementing redis configuration
|
|
return array (
|
|
# For single server setup APCu is recommended, for multi server setup Redis
|
|
'memcache.local' => '\\OC\\Memcache\\{% if deployment_mode == "single" %}APCu{% else %}Redis{% endif %}',
|
|
# The following lines are configured via the environment variables
|
|
# 'memcache.locking' => '\\OC\\Memcache\\Redis',
|
|
# 'redis' =>
|
|
# array (
|
|
# 'host' => 'redis',
|
|
# 'port' => 6379,
|
|
# )
|
|
);
|