VEGAS: add FBI services

This commit is contained in:
Max Headroom 2021-10-16 19:34:13 +02:00
parent d0721d38b7
commit e149b8e16f
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ config, lib, tools, ... }:
with tools.nginx;
{
services = {
radarr = {
enable = true;
};
sonarr = {
enable = true;
};
ombi = {
enable = true;
port = 35000;
};
nginx.virtualHosts = mappers.mapSubdomains {
radarr = vhosts.proxy "http://127.0.0.1:7878";
sonarr = vhosts.proxy "http://127.0.0.1:8989";
fbi-requests = vhosts.proxy "http://127.0.0.1:${builtins.toString config.services.ombi.port}";
};
};
systemd.services.radarr.serviceConfig.Slice = "mediamanagement.slice";
systemd.services.sonarr.serviceConfig.Slice = "mediamanagement.slice";
}

View file

@ -16,6 +16,7 @@
# Services
./services/backbone-routing
./services/dns
./services/fbi
]
# TODO: fix users
# ++ (import ../../users "server").groups.admin