redis: switch to valkey

This commit is contained in:
notohh 2024-05-27 10:24:01 -04:00
parent 80799a986b
commit d2c9754e49
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,52 +1,55 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = [pkgs.redis-dump]; environment.systemPackages = [pkgs.redis-dump];
services.redis.servers = { services.redis = {
forgejo = { package = pkgs.valkey;
enable = true; servers = {
openFirewall = true; forgejo = {
port = 6379; enable = true;
bind = null; openFirewall = true;
databases = 16; port = 6379;
logLevel = "debug"; bind = null;
requirePass = "forgejo"; databases = 16;
settings = { logLevel = "debug";
protected-mode = "no"; requirePass = "forgejo";
settings = {
protected-mode = "no";
};
}; };
}; searxng = {
searxng = { enable = true;
enable = true; openFirewall = true;
openFirewall = true; port = 6380;
port = 6380; bind = null;
bind = null; databases = 16;
databases = 16; logLevel = "debug";
logLevel = "debug"; requirePass = "searxng";
requirePass = "searxng"; settings = {
settings = { protected-mode = "no";
protected-mode = "no"; };
}; };
}; blocky = {
blocky = { enable = true;
enable = true; openFirewall = true;
openFirewall = true; port = 6381;
port = 6381; bind = null;
bind = null; databases = 16;
databases = 16; logLevel = "debug";
logLevel = "debug"; requirePass = "blocky";
requirePass = "blocky"; settings = {
settings = { protected-mode = "no";
protected-mode = "no"; };
}; };
}; paperless-ngx = {
paperless-ngx = { enable = true;
enable = true; openFirewall = true;
openFirewall = true; port = 6382;
port = 6382; bind = null;
bind = null; databases = 16;
databases = 16; logLevel = "debug";
logLevel = "debug"; requirePass = "paperless-ngx";
requirePass = "paperless-ngx"; settings = {
settings = { protected-mode = "no";
protected-mode = "no"; };
}; };
}; };
}; };