Setting up Redis

Setting up Redis

October 6, 2024

1. Install Redis

apt install redis-server

2. Update configs

> nano /etc/redis/redis.conf
bind * -::*
supervised systemd
maxmemory-policy noeviction
requirepass <REALLY_LONG_PASSWORD_HERE>

maxmemory-policy is important for services like BullMQ

3. Update UFW and start

ufw allow redis
systemctl restart redis

built withbuildery