Проверять готовность PostgreSQL по TCP и ограничить память Valkey
This commit is contained in:
@@ -9,8 +9,10 @@ dir /data
|
||||
# The append-only file already persists everything; RDB snapshots are off.
|
||||
save ""
|
||||
|
||||
# Sessions are never evicted to free memory: a full store refuses new logins
|
||||
# (503) instead of silently logging users out.
|
||||
# Sessions are never evicted to free memory: once maxmemory is reached the
|
||||
# store refuses new sessions (login answers 503) instead of silently logging
|
||||
# users out. A session key takes about a hundred bytes.
|
||||
maxmemory 256mb
|
||||
maxmemory-policy noeviction
|
||||
|
||||
# requirepass comes from the compose secret, never from the repository.
|
||||
|
||||
Reference in New Issue
Block a user