arashi: init redis
This commit is contained in:
parent
e46d6ff044
commit
0043ad480b
2 changed files with 15 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./postgresql.nix
|
||||
./redis.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue