feat: forgejo runner

Added a forgejo runner and extracted monolith file into folder/sub-folder
This commit is contained in:
Finn Linck Ryan 2026-01-11 20:52:16 +00:00
parent 2637817c9c
commit eb7d6c146f
9 changed files with 114 additions and 32 deletions

View file

@ -0,0 +1,22 @@
{ ...
}:
{
networking.firewall.allowedTCPPorts = [ 22 ];
services.traefik.dynamicConfigOptions.http = {
routers.forgejo = {
rule = "Host(`git.dokkae.com`)";
service = "forgejo";
entryPoints = [ "websecure" ];
tls = { certResolver = "letsencrypt"; };
};
services.forgejo = {
loadBalancer.servers = [
{ url = "http://localhost:3000"; }
];
};
};
}