mirror of
https://github.com/directus/directus.git
synced 2026-01-15 00:28:29 -05:00
Update example env
This commit is contained in:
@@ -49,7 +49,22 @@ RATE_LIMITER_STORE=memory # memory | redis | memcache
|
||||
####################################################################################################
|
||||
# Caching
|
||||
|
||||
CACHE_TYPE="redis"
|
||||
CACHE_ENABLED=true
|
||||
CACHE_TTL="30m"
|
||||
CACHE_NAMESPACE="directus-cache"
|
||||
CACHE_STORE=memory # memory | redis | memcache
|
||||
|
||||
# CACHE_REDIS="redis://:authpassword@127.0.0.1:6380/4"
|
||||
# --OR--
|
||||
# CACHE_REDIS_HOST="127.0.0.1"
|
||||
# CACHE_REDIS_PORT="127.0.0.1"
|
||||
# CACHE_REDIS_PASSWORD="127.0.0.1"
|
||||
# CACHE_REDIS_DB="127.0.0.1"
|
||||
|
||||
## Memcache (see https://github.com/animir/node-rate-limiter-flexible/wiki/Memcache and
|
||||
## https://www.npmjs.com/package/memcached)
|
||||
# CACHE_MEMCACHE='localhost:11211'
|
||||
|
||||
####################################################################################################
|
||||
# File Storage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user