Compare commits

..

No commits in common. "b492d1be580c8f497c459001c722df007c1a6d13" and "e46d6ff044b3d5cd48728170b40abd0fdad5f53d" have entirely different histories.

3 changed files with 5 additions and 20 deletions

View file

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

View file

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

View file

@ -36,11 +36,6 @@
USER = "forgejo"; USER = "forgejo";
PASSWD = "forgejo"; PASSWD = "forgejo";
}; };
cache = {
ENABLED = true;
ADAPTER = lib.mkForce "redis";
HOST = "redis://:forgejo@100.94.214.100:6379";
};
metrics = { metrics = {
ENABLED = true; ENABLED = true;
ENABLED_ISSUE_BY_REPOSITORY = true; ENABLED_ISSUE_BY_REPOSITORY = true;