mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Reset Jellyfin and move to SSD
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
a32af93084
commit
f026c3e26f
|
@ -1,15 +1,15 @@
|
||||||
{ 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"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ in
|
||||||
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"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ job "jellyfin" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "jellyfin/jellyfin@sha256:c43fe0077854e823b3f652984f0086774436ed1426cf934af5f954978f9afb10"
|
image = "jellyfin/jellyfin@sha256:095e6d410d1d27b17cc4a961a9bab9fab5ffce6e49389d8ec685f65ab5538525"
|
||||||
|
|
||||||
# devices = [
|
# devices = [
|
||||||
# {
|
# {
|
||||||
|
|
Loading…
Reference in a new issue