disable forgejo cache

This commit is contained in:
Adithya 2024-11-03 19:37:12 +05:30
parent 1970b5e17a
commit d98b843b73
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 3 additions and 15 deletions

View file

@ -23,9 +23,7 @@
settings = { settings = {
log.level = "info"; log.level = "info";
cache = { cache = {
enabled = true; enabled = false;
host = "192.168.1.12";
external_server = "https://act-cache.labs.adtya.xyz/";
}; };
}; };
}; };

View file

@ -66,7 +66,6 @@
# Services # Services
"alertmanager.labs.adtya.xyz" = "10.10.10.12"; "alertmanager.labs.adtya.xyz" = "10.10.10.12";
"act-cache.labs.adtya.xyz" = "10.10.10.13";
"bazarr.labs.adtya.xyz" = "10.10.10.14"; "bazarr.labs.adtya.xyz" = "10.10.10.14";
"blocky.rico1.labs.adtya.xyz" = "10.10.10.11"; "blocky.rico1.labs.adtya.xyz" = "10.10.10.11";
"blocky.rico2.labs.adtya.xyz" = "10.10.10.12"; "blocky.rico2.labs.adtya.xyz" = "10.10.10.12";

View file

@ -2,7 +2,6 @@
let let
cfg = config.services.forgejo; cfg = config.services.forgejo;
domainName = "forge.acomputer.lol"; domainName = "forge.acomputer.lol";
inherit (import ../../../shared/caddy-helpers.nix) logFormat;
in in
{ {
sops.secrets = { sops.secrets = {
@ -13,12 +12,6 @@ in
}; };
}; };
services = { services = {
caddy.virtualHosts."act-cache.labs.adtya.xyz" = {
inherit logFormat;
extraConfig = ''
reverse_proxy 127.0.0.1:7777
'';
};
gitea-actions-runner = { gitea-actions-runner = {
package = pkgs.forgejo-runner; package = pkgs.forgejo-runner;
instances = { instances = {
@ -36,9 +29,7 @@ in
settings = { settings = {
log.level = "info"; log.level = "info";
cache = { cache = {
enabled = true; enabled = false;
port = 7777;
external_server = "https://act-cache.labs.adtya.xyz/";
}; };
}; };
}; };