Reset Jellyfin and move to SSD

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-01-09 14:16:29 +01:00
parent a32af93084
commit f026c3e26f
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 12 additions and 12 deletions

View file

@ -1,24 +1,24 @@
{ elib, ... }: {elib, ...}: let
let inherit
inherit (elib) (elib)
nfsVolume nfsVolume
nomadJob; nomadJob
in ;
{ in {
resource."nomad_volume"."jellyfin-cache" = nfsVolume { resource."nomad_volume"."jellyfin-cache" = nfsVolume {
volume_name = "jellyfin-cache"; volume_name = "jellyfin-cache";
access_mode = "single-node-writer"; access_mode = "single-node-writer";
server = "blowhole.hosts.in.redalder.org"; server = "blowhole.hosts.in.redalder.org";
share = "/mnt/kyle/infrastructure/jellyfin/cache"; share = "/mnt/jimmy/infrastructure/jellyfin/cache";
mount_flags = [ "hard" "vers=4.2" "rsize=131072" "wsize=131072" "async" ]; mount_flags = ["hard" "vers=4.2" "rsize=131072" "wsize=131072" "async"];
}; };
resource."nomad_volume"."jellyfin-config" = nfsVolume { resource."nomad_volume"."jellyfin-config" = nfsVolume {
volume_name = "jellyfin-config"; volume_name = "jellyfin-config";
access_mode = "single-node-writer"; access_mode = "single-node-writer";
server = "blowhole.hosts.in.redalder.org"; server = "blowhole.hosts.in.redalder.org";
share = "/mnt/kyle/infrastructure/jellyfin/config"; share = "/mnt/jimmy/infrastructure/jellyfin/config";
mount_flags = [ "hard" "vers=4.2" "rsize=131072" "wsize=131072" "async" ]; mount_flags = ["hard" "vers=4.2" "rsize=131072" "wsize=131072" "async"];
}; };
resource."nomad_volume"."jellyfin-media" = nfsVolume { resource."nomad_volume"."jellyfin-media" = nfsVolume {
@ -26,7 +26,7 @@ in
access_mode = "single-node-writer"; access_mode = "single-node-writer";
server = "blowhole.hosts.in.redalder.org"; server = "blowhole.hosts.in.redalder.org";
share = "/mnt/kyle/infrastructure/jellyfin/media"; share = "/mnt/kyle/infrastructure/jellyfin/media";
mount_flags = [ "hard" "vers=4.2" "rsize=131072" "wsize=131072" "async" ]; mount_flags = ["hard" "vers=4.2" "rsize=131072" "wsize=131072" "async"];
}; };
resource."nomad_job"."jellyfin" = nomadJob { resource."nomad_job"."jellyfin" = nomadJob {

View file

@ -72,7 +72,7 @@ job "jellyfin" {
driver = "docker" driver = "docker"
config { config {
image = "jellyfin/jellyfin@sha256:c43fe0077854e823b3f652984f0086774436ed1426cf934af5f954978f9afb10" image = "jellyfin/jellyfin@sha256:095e6d410d1d27b17cc4a961a9bab9fab5ffce6e49389d8ec685f65ab5538525"
# devices = [ # devices = [
# { # {