mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00: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,
 | 
						|
  # )
 | 
						|
);
 |