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 = [
./postgresql.nix
./redis.nix
];
}

View file

@ -1,16 +1,7 @@
{...}: {
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";
};
};
_: {
services.redis.servers.default = {
enable = true;
openFirewall = true;
port = 6379;
};
}

View file

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