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:
parent
8c6018f25e
commit
6073e79011
2 changed files with 19 additions and 0 deletions
|
@ -5,5 +5,6 @@
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./plausible.nix
|
./plausible.nix
|
||||||
./conduit.nix
|
./conduit.nix
|
||||||
|
./lemmy.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
18
modules/servers/thor/lemmy.nix
Normal file
18
modules/servers/thor/lemmy.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue