# Require clients to authenticate with a password requirepass mypassword # Enable AOF persistence appendonly yes appendfsync everysec # Limit the maximum amount of memory used by Redis maxmemory 256mb maxmemory-policy allkeys-lru