Tweak tdarr

This commit is contained in:
Nathan McCarty 2023-04-19 00:36:55 -04:00
parent 15bc7bf085
commit 0f27e06c17
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 8 additions and 1 deletions

View File

@ -144,7 +144,13 @@
"inContainer" = "true";
};
ports = [ "8265:8265" "8266:8266" "8267:8267" ];
volumes = [ "/var/lib/tdarr:/app/configs" "/mnt/plex:/media" ];
volumes = [
"/var/lib/tdarr/configs:/app/configs"
"/var/lib/tdarr/server:/app/server"
"/var/lib/tdarr/logs:/app/logs"
"/var/lib/tdarr/cache:/app/cache"
"/mnt/plex:/media"
];
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
};
# Configure sonarr - TV
@ -210,6 +216,7 @@
};
# Make the containers depend on their mounts
systemd.services = {
"podman-tdarr" = { after = [ "mnt-plex.mount" ]; };
"podman-plex" = { after = [ "mnt-music.mount" "mnt-plex.mount" ]; };
"podman-jellyfin" = { after = [ "mnt-music.mount" "mnt-plex.mount" ]; };
"podman-sabnzbd" = { after = [ "mnt-scratch.mount" ]; };