mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-26 16:25:54 +01:00
Introduce pluggable backend cache for the HTTP layer. (#495)
--------- Co-authored-by: thesimplekid <tsk@thesimplekid.com>
This commit is contained in:
@@ -13,4 +13,21 @@ services:
|
||||
- CDK_MINTD_LISTEN_PORT=8085
|
||||
- CDK_MINTD_MNEMONIC=
|
||||
- CDK_MINTD_DATABASE=redb
|
||||
- CDK_MINTD_CACHE_BACKEND=memory
|
||||
# - CDK_MINTD_CACHE_REDIS_URL=redis://redis:6379
|
||||
# - CDK_MINTD_CACHE_REDIS_KEY_PREFIX=cdk-mintd
|
||||
command: ["cdk-mintd"]
|
||||
# depends_on:
|
||||
# - redis
|
||||
|
||||
# redis:
|
||||
# image: redis:7-alpine
|
||||
# container_name: mint_redis
|
||||
# ports:
|
||||
# - "6379:6379"
|
||||
# volumes:
|
||||
# - redis_data:/data
|
||||
# command: redis-server --save 60 1 --loglevel warning
|
||||
|
||||
# volumes:
|
||||
# redis_data:
|
||||
|
||||
Reference in New Issue
Block a user