nix-conf/modules/servers/thor/lemmy.nix
Crony Akatsuki 6073e79011 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.
2025-05-14 23:34:10 +02:00

18 lines
364 B
Nix

{...}: {
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";
};
};
}