mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
moved audiobookshelf to a service
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
let
|
||||
vars = import ../vars.nix;
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers.containers.audiobookshelf = {
|
||||
image = "ghcr.io/advplyr/audiobookshelf:2.18.1";
|
||||
volumes = [
|
||||
"${vars.media_docker_configs}/audiobookshelf/config:/config"
|
||||
"${vars.media_docker_configs}/audiobookshelf/metadata:/metadata"
|
||||
"${vars.storage_library}/audiobooks:/${vars.storage_library}/audiobooks"
|
||||
"${vars.storage_library}/books:/${vars.storage_library}/books"
|
||||
];
|
||||
environment = {
|
||||
TZ = "America/New_York";
|
||||
};
|
||||
extraOptions = [ "--network=web" ];
|
||||
autoStart = true;
|
||||
};
|
||||
}
|
||||
@@ -45,7 +45,7 @@ frontend ContentSwitching
|
||||
|
||||
backend audiobookshelf_nodes
|
||||
mode http
|
||||
server server audiobookshelf:80
|
||||
server server 192.168.90.40:8000
|
||||
|
||||
backend cache_nodes
|
||||
mode http
|
||||
|
||||
@@ -14,7 +14,6 @@ in
|
||||
"${./haproxy.cfg}:/usr/local/etc/haproxy/haproxy.cfg"
|
||||
];
|
||||
dependsOn = [
|
||||
"audiobookshelf"
|
||||
"photoprism"
|
||||
"uptime_kuma"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user