feat(servers): add bragi the poet.
This commit is contained in:
parent
0135e2ad80
commit
1bc23db49c
12 changed files with 188 additions and 1 deletions
22
modules/servers/bragi/audiobookshelf.nix
Normal file
22
modules/servers/bragi/audiobookshelf.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{...}: {
|
||||
services.audiobookshelf = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.audiobookshelf.loadBalancer.servers = [
|
||||
{
|
||||
url = "http://localhost:8000";
|
||||
}
|
||||
];
|
||||
|
||||
routers.audiobookshelf = {
|
||||
rule = "Host(`abs.cronyakatsuki.xyz`)";
|
||||
tls = {
|
||||
certResolver = "porkbun";
|
||||
};
|
||||
service = "audiobookshelf";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue