forked from mtusi2026/mtusi2026lab2
реализован уровень 4
This commit is contained in:
+8
-2
@@ -25,5 +25,11 @@ DB_QUERY_TIMEOUT=3s
|
||||
READINESS_TIMEOUT=2s
|
||||
SHUTDOWN_TIMEOUT=10s
|
||||
|
||||
# Redis will be added for grade 4.
|
||||
CACHE_URL_FILE=/run/secrets/cache_url
|
||||
# Redis stores a disposable cache; PostgreSQL remains the source of truth.
|
||||
CACHE_URL=redis://redis:6379/0
|
||||
CACHE_TTL=5m
|
||||
CACHE_OPERATION_TIMEOUT=250ms
|
||||
CACHE_POOL_SIZE=10
|
||||
|
||||
# Optional Redis Insight profile binds its UI only to localhost.
|
||||
REDIS_INSIGHT_PORT=5540
|
||||
|
||||
Reference in New Issue
Block a user