Skip to main content

Environment Variables

Boolean flags default to false when unset.

VariableTypeDefaultConfig KeysDescriptionSource
CACHE_DRIVERstring"memory"cache.driverCache driver to use: `memory`, `file`, or `redis`. Install the required peer dependency for non-memory drivers: - `file`: no extra packages needed. - `redis`: requires `ioredis`. /cache.ts
CACHE_FILE_FOLDERstring".cache"cache.file.folderConfiguration value from environment. Config key: `cache.file.folder`.cache.ts
CACHE_REDIS_DBint0cache.redis.dbConfiguration value from environment. Config key: `cache.redis.db`.cache.ts
CACHE_REDIS_HOSTstring"127.0.0.1"cache.redis.hostConfiguration value from environment. Config key: `cache.redis.host`.cache.ts
CACHE_REDIS_KEY_PREFIXstring"quik:cache:"cache.redis.keyPrefixConfiguration value from environment. Config key: `cache.redis.keyPrefix`.cache.ts
CACHE_REDIS_PASSWORDstring""cache.redis.passwordConfiguration value from environment. Config key: `cache.redis.password`.cache.ts
CACHE_REDIS_PORTint6379cache.redis.portConfiguration value from environment. Config key: `cache.redis.port`.cache.ts