arashi: init redis

This commit is contained in:
notohh 2023-10-07 20:42:30 -04:00
parent e46d6ff044
commit 0043ad480b
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 15 additions and 5 deletions

View file

@ -1,5 +1,6 @@
_: {
imports = [
./postgresql.nix
./redis.nix
];
}

View file

@ -1,7 +1,16 @@
_: {
services.redis.servers.default = {
{...}: {
services.redis.servers = {
forgejo = {
enable = true;
openFirewall = true;
port = 6379;
bind = "100.94.214.100";
databases = 16;
logLevel = "debug";
requirePass = "forgejo";
settings = {
protected-mode = "no";
};
};
};
}