Browse Source

Add redis dsn param

Jordi Boggiano 13 years ago
parent
commit
0442a6cbd1
2 changed files with 3 additions and 1 deletions
  1. 1 1
      app/config/config.yml
  2. 2 0
      app/config/parameters.yml.dist

+ 1 - 1
app/config/config.yml

@@ -53,7 +53,7 @@ snc_redis:
         default:
             type: predis
             alias: default
-            dsn: redis://localhost
+            dsn: %redis_dsn%
 
 # Swiftmailer Configuration
 swiftmailer:

+ 2 - 0
app/config/parameters.yml.dist

@@ -12,6 +12,8 @@ parameters:
     mailer_from_email: admin@example.org
     mailer_from_name: Admin Team
 
+    redis_dsn: redis://localhost/1
+
     locale: en
 
     secret: CHANGE_ME_IN_PROD