bind 0.0.0.0 protected-mode yes port 6379 dir /data aclfile /run/redis-acl/users.acl appendonly yes appendfsync everysec save "" # Redis "gb" uses binary units: 3gb = 3 GiB. # The container limit is 5Gi. This is a measured-risk starting point: heavy # writes during AOF rewrite can exhaust the remaining fork/COW headroom. # maxmemory is not a hard limit on total process memory. maxmemory 3gb # Preserve keys until the application explicitly deletes or expires them. maxmemory-policy noeviction