diff --git a/machines/perception/configuration.nix b/machines/perception/configuration.nix index 3025529..2cbcb63 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:80" ]; + 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" ]; }; }; }