Add Audiobookshelf

This commit is contained in:
Gene Liverman 2024-03-28 18:18:21 -04:00
parent 072a6e34de
commit 1885a9119e
2 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,23 @@
{ ... }: let
volume_base = "/orico/audiobookshelf";
in {
# Audiobookshelf
virtualisation.oci-containers.containers = {
"audiobookshelf" = {
autoStart = true;
image = "ghcr.io/advplyr/audiobookshelf:latest";
environment = {
AUDIOBOOKSHELF_UID = "99";
AUDIOBOOKSHELF_GID = "100";
};
ports = [ "13378:80" ];
volumes = [
"${volume_base}/audiobooks:/audiobooks"
"${volume_base}/podcasts:/podcasts"
"${volume_base}/printbooks:/printbooks"
"${volume_base}/config:/config"
"${volume_base}/metadata:/metadata"
];
};
};
}