add ports for rgit
This commit is contained in:
parent
7865de7103
commit
8af386e521
5 changed files with 47 additions and 10 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
image = "ghcr.io/w4/rgit:main";
|
||||
ports = [
|
||||
"8000:8000"
|
||||
"9418:9418"
|
||||
];
|
||||
volumes = [
|
||||
"/var/lib/git-server:/git:ro"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue