Merge pull request #1778 from davidcelis/configure-redis-db
Allow configuration of Redis DB and cache DB
This commit is contained in:
commit
2c04f615f4
|
@ -73,5 +73,11 @@ redis_host = localhost
|
|||
# redis server port
|
||||
redis_port = 6379
|
||||
|
||||
# redis database
|
||||
redis_db = 0
|
||||
|
||||
# redis database for caching
|
||||
redis_cache_db = 2
|
||||
|
||||
# redis password
|
||||
redis_password =
|
||||
|
|
|
@ -2,8 +2,8 @@ defaults: &defaults
|
|||
host: <%= GlobalSetting.redis_host %>
|
||||
port: <%= GlobalSetting.redis_port %>
|
||||
password: <%= GlobalSetting.redis_password %>
|
||||
db: 0
|
||||
cache_db: 2
|
||||
db: <%= GlobalSetting.redis_db %>
|
||||
cache_db: <%= GlobalSetting.redis_cache_db %>
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
|
Loading…
Reference in New Issue