Introduce pluggable backend cache for the HTTP layer. (#495)

---------

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
This commit is contained in:
C
2024-12-17 09:39:03 -03:00
committed by GitHub
parent e508639b83
commit dcca57dbd1
22 changed files with 904 additions and 643 deletions

View File

@@ -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: