feat(odin): add lemmy, reddit but better.

This is just a traefik port forwarding file, I'm running lemmy using the
original docker-compose I used before, just with podman and
podman-compose for the ability to just move the server without having to
recreate it.
This commit is contained in:
CronyAkatsuki 2025-05-14 23:34:10 +02:00
parent 8c6018f25e
commit 6073e79011
2 changed files with 19 additions and 0 deletions

View file

@ -5,5 +5,6 @@
./secrets.nix
./plausible.nix
./conduit.nix
./lemmy.nix
];
}

View file

@ -0,0 +1,18 @@
{...}: {
services.traefik.dynamicConfigOptions.http = {
services.lemmy.loadBalancer.servers = [
{
url = "http://localhost:1236";
}
];
routers.lemmy = {
rule = "Host(`lemmy.cronyakatsuki.xyz`)";
tls = {
certResolver = "porkbun";
};
service = "lemmy";
entrypoints = "websecure";
};
};
}