mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-02-06 10:57:17 +00:00
Merge 5b5a76cb44 into 1ca56db7b2
This commit is contained in:
commit
8a8d4ab1cc
@ -119,6 +119,12 @@ services:
|
||||
redis:
|
||||
<<: *restart_policy
|
||||
image: "redis:6.2.20-alpine"
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
memory: 512m
|
||||
limits:
|
||||
memory: 3072m
|
||||
healthcheck:
|
||||
<<: *healthcheck_defaults
|
||||
test: redis-cli ping | grep PONG
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
# maxmemory 0 # Unlimited memory usage
|
||||
# maxmemory 15gb # Limit memory usage to 15 GB
|
||||
|
||||
maxmemory 0
|
||||
maxmemory 2gb
|
||||
|
||||
# This setting determines how Redis evicts keys when it reaches the memory limit.
|
||||
# `allkeys-lru` evicts the least recently used keys from all keys stored in Redis,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user