From 12bec013639a20bc5b3561a8742acdc180bf1a26 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 8 Jun 2022 21:03:18 +0200 Subject: [PATCH] services/fbi: add fbi-index --- hosts/VEGAS/services/fbi/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hosts/VEGAS/services/fbi/default.nix b/hosts/VEGAS/services/fbi/default.nix index 670c208..4daf14a 100644 --- a/hosts/VEGAS/services/fbi/default.nix +++ b/hosts/VEGAS/services/fbi/default.nix @@ -10,6 +10,9 @@ with tools.nginx; sonarr = { enable = true; }; + prowlarr = { + enable = true; + }; ombi = { enable = true; port = config.ports.ombi; @@ -18,9 +21,23 @@ with tools.nginx; nginx.virtualHosts = mappers.mapSubdomains { radarr = vhosts.proxy "http://127.0.0.1:7878"; sonarr = vhosts.proxy "http://127.0.0.1:8989"; + fbi-index = vhosts.proxy "http://127.0.0.1:9696"; fbi-requests = vhosts.proxy "http://127.0.0.1:${config.portsStr.ombi}"; }; }; systemd.services.radarr.serviceConfig.Slice = "mediamanagement.slice"; systemd.services.sonarr.serviceConfig.Slice = "mediamanagement.slice"; + systemd.services.prowlarr = { + after = [ "wireguard-wgmv-es7.service" "network-addresses-wgmv-es7.service" ]; + serviceConfig = { + Slice = "mediamanagement.slice"; + IPAddressDeny = [ "any" ]; + IPAddressAllow = [ + "localhost" + "10.64.0.0/16" + "10.124.0.0/16" + "10.100.0.0/24" + ]; + }; + }; }