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, ...}: {
environment.systemPackages = [pkgs.redis-dump];
services.redis.servers = {
forgejo = {
enable = true;
openFirewall = true;
port = 6379;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "forgejo";
settings = {
protected-mode = "no";
services.redis = {
package = pkgs.valkey;
servers = {
forgejo = {
enable = true;
openFirewall = true;
port = 6379;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "forgejo";
settings = {
protected-mode = "no";
};
};
};
searxng = {
enable = true;
openFirewall = true;
port = 6380;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "searxng";
settings = {
protected-mode = "no";
searxng = {
enable = true;
openFirewall = true;
port = 6380;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "searxng";
settings = {
protected-mode = "no";
};
};
};
blocky = {
enable = true;
openFirewall = true;
port = 6381;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "blocky";
settings = {
protected-mode = "no";
blocky = {
enable = true;
openFirewall = true;
port = 6381;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "blocky";
settings = {
protected-mode = "no";
};
};
};
paperless-ngx = {
enable = true;
openFirewall = true;
port = 6382;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "paperless-ngx";
settings = {
protected-mode = "no";
paperless-ngx = {
enable = true;
openFirewall = true;
port = 6382;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "paperless-ngx";
settings = {
protected-mode = "no";
};
};
};
};