From 36090ee207c8f663a9cd5eecfce6da3c76b9d2a2 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 21 Jun 2023 23:04:27 -0400 Subject: [PATCH] Switch podgrab to audiobookshelf --- machines/perception/configuration.nix | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/machines/perception/configuration.nix b/machines/perception/configuration.nix index 3025529..df3f77c 100644 --- a/machines/perception/configuration.nix +++ b/machines/perception/configuration.nix @@ -243,11 +243,22 @@ dependsOn = [ "plex" ]; }; # Configure podgrab - podcasts - "podgrab" = { - image = "akhilrex/podgrab"; - environment = { "CHECK_FREQUENCY" = "5"; }; - volumes = [ "/var/lib/podgrab:/config" "/mnt/podcasts:/assets" ]; - ports = [ "4242:8080" ]; + # "podgrab" = { + # image = "akhilrex/podgrab"; + # environment = { "CHECK_FREQUENCY" = "5"; }; + # volumes = [ "/var/lib/podgrab:/config" "/mnt/podcasts:/assets" ]; + # ports = [ "4242:8080" ]; + # }; + # Configure audio bookshelf + "audiobookshelf" = { + image = "ghcr.io/advplyr/audiobookshelf:latest"; + ports = [ "13378:13378" ]; + volumes = [ + "/mnt/podcasts/audiobooks:/audiobooks" + "/mnt/podcasts/podcasts:/podcasts" + "/mnt/podcasts/metadata:/metadata" + "/var/lib/audiobookshelf:/config" + ]; }; }; # Make the containers depend on their mounts @@ -257,6 +268,6 @@ "podman-jellyfin" = { after = [ "mnt-music.mount" "mnt-plex.mount" ]; }; "podman-sabnzbd" = { after = [ "mnt-scratch.mount" ]; }; "podman-lidarr" = { after = [ "mnt-music.mount" ]; }; - "podman-podgrab" = { after = [ "mnt-podcasts.mount" ]; }; + "podman-audiobookshelf" = { after = [ "mnt-podcasts.mount" ]; }; }; }