removed proxy for torrent, nzb, multi-scrobbler

This commit is contained in:
2024-09-27 23:59:42 -06:00
parent 23d69d9691
commit 2485f544fb
7 changed files with 35 additions and 66 deletions

View File

@@ -1,13 +1,7 @@
{
lib,
config,
proxyReverse,
...
}:
{ lib, config, ... }:
let
port = 9078;
domain = "scrobble.${config.my.domain}";
url = "https://${domain}";
url = "http://${config.my.miniserver-ip}:${toString port}";
in
{
options.my.servers.multi-scrobbler.enable = lib.mkEnableOption "enable";
@@ -23,7 +17,7 @@ in
PGID = "100";
BASE_URL = url;
DEEZER_REDIRECT_URI = "http://${config.my.miniserver-ip}:${toString port}/deezer/callback";
MALOJA_URL = "http://maloja:42010";
MALOJA_URL = config.my.servers.maloja.url;
WS_ENABLE = "true";
};
volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ];
@@ -34,6 +28,5 @@ in
"flame.icon" = "broadcast";
};
};
services.nginx.virtualHosts."${domain}" = proxyReverse port // { };
};
}