mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-01 23:04:15 +02:00
14 lines
365 B
Django/Jinja
14 lines
365 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 %}',
|
|
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
|
'redis' =>
|
|
array (
|
|
'host' => 'redis',
|
|
'port' => 6379,
|
|
)
|
|
);
|