feat(servers): add loki, the tricker.

This commit is contained in:
CronyAkatsuki 2025-05-05 22:11:11 +02:00
parent e88bccf101
commit 926884f6bf
9 changed files with 134 additions and 1 deletions

View file

@ -0,0 +1,5 @@
{...}: {
imports = [
./rimgo.nix
];
}

View file

@ -0,0 +1,26 @@
{...}: {
services.rimgo = {
enable = true;
settings = {
PORT = 3000;
ADDRESS = "127.0.0.1";
};
};
services.traefik.dynamicConfigOptions.http = {
services.rimgo.loadBalancer.servers = [
{
url = "http://localhost:3000";
}
];
routers.rimgo = {
rule = "Host(`rimgo.cronyakatsuki.xyz`)";
tls = {
certResolver = "porkbun";
};
service = "rimgo";
entrypoints = "websecure";
};
};
}