fixed multi-scrobbler with local urls, solution dirty tho

This commit is contained in:
2025-01-30 23:41:59 -06:00
parent 933f7738e0
commit 78108c9dea
2 changed files with 8 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ in
networking.firewall.allowedTCPPorts = lib.mkIf (!cfg.isLocal) [ cfg.port ];
sops.secrets = lib.mkIf cfg.enable { multi-scrobbler.sopsFile = ../../secrets/env.yaml; };
virtualisation.oci-containers.containers.multi-scrobbler = lib.mkIf cfg.enable {
image = "foxxmd/multi-scrobbler:0.8.8";
image = "foxxmd/multi-scrobbler:0.9.1";
ports = [ "${toString cfg.port}:${toString cfg.port}" ];
environmentFiles = [ config.sops.secrets.multi-scrobbler.path ];
environment = {
@@ -18,7 +18,9 @@ in
PGID = toString config.users.groups.users.gid;
BASE_URL = cfg.url;
DEEZER_REDIRECT_URI = "http://${config.my.ips.${cfg.hostName}}:${toString cfg.port}/deezer/callback";
MALOJA_URL = config.my.servers.maloja.url;
MALOJA_URL = "http://192.168.1.100:42010";
JELLYFIN_URL = "http://192.168.1.69:8096";
PLEX_URL = "http://192.168.1.69:32400";
WS_ENABLE = "true";
};
volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ];