Compare commits
No commits in common. "b492d1be580c8f497c459001c722df007c1a6d13" and "e46d6ff044b3d5cd48728170b40abd0fdad5f53d" have entirely different histories.
b492d1be58
...
e46d6ff044
3 changed files with 5 additions and 20 deletions
|
@ -1,6 +1,5 @@
|
||||||
_: {
|
_: {
|
||||||
imports = [
|
imports = [
|
||||||
./postgresql.nix
|
./postgresql.nix
|
||||||
./redis.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue