forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal_cache.yml.example
35 lines (35 loc) · 1.03 KB
/
local_cache.yml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This file is used to configure an on-box cache.
# If you set nothing, it will just cache in memory,
# and for development this is probably fine.
#
# In production, we use a local redis db on each
# box as a cache for things that might get throttled
# if every process is asking for them all the time
# (think vault assuming credentials to talk to another AWS asset).
#
# If you want to develop using a redis local cache, uncomment the
# following (and if you're working without docker you probably want
# "localhost" as your redis host rather than "redis")
#
# The chosen db is intentionally not 0, as that is the keyspace
# used by the HA cache (see MultiCache), and since the use cases
# are different it seems low cost and probably safer to not
# use the same redis db (though they are talking to the same process).
#
#common: &common
# store: redis
# redis_host: localhost
# redis_port: 6379
# redis_db: 1
#
#production:
# <<: *common
#
#test:
# <<: *common
# redis_host: redis
# redis_db: 2
#
#development:
# <<: *common
# redis_host: redis