add ports for rgit

This commit is contained in:
mtgmonkey 2025-06-16 20:13:51 +00:00
parent 7865de7103
commit 8af386e521
5 changed files with 47 additions and 10 deletions

View file

@ -29,7 +29,7 @@ in {
METRICS_BIND = "[::1]:9283";
METRICS_BIND_NETWORK = "tcp";
POLICY_FNAME = "/etc/anubis/math-project.botPolicies.yaml";
TARGET = "http://localhost:8080";
TARGET = "http://localhost:8081";
};
};
};
@ -42,7 +42,7 @@ in {
systemd.services.math-project = {
serviceConfig = {
Type = "simple";
ExecStart = "${lib.getExe math-project}";
ExecStart = "${lib.getExe math-project.packages.x86_64-linux.default}";
RemainAfterExit = true;
};
};

View file

@ -7,6 +7,7 @@
image = "ghcr.io/w4/rgit:main";
ports = [
"8000:8000"
"9418:9418"
];
volumes = [
"/var/lib/git-server:/git:ro"