From b78968d5c4f63b287a50e6f75dcc9e066d57be35 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Wed, 19 Mar 2025 14:38:15 +0000 Subject: [PATCH] chore(media-centre): remove jellyfin job specification from Nomad configuration --- modules/media-centre/jobspec.nomad.hcl | 75 -------------------------- 1 file changed, 75 deletions(-) diff --git a/modules/media-centre/jobspec.nomad.hcl b/modules/media-centre/jobspec.nomad.hcl index c1e9104..6397e10 100644 --- a/modules/media-centre/jobspec.nomad.hcl +++ b/modules/media-centre/jobspec.nomad.hcl @@ -1,79 +1,4 @@ job "media-centre" { - group "jellyfin" { - task "jellyfin" { - user = "985" - driver = "docker" - - constraint { - attribute = "${node.unique.name}" - value = "Hestia" - } - - config { - image = "ghcr.io/jellyfin/jellyfin:10.10.6" - runtime = "nvidia" - group_add = ["997"] - ports = ["jellyfin"] - - mount { - type = "volume" - target = "/media" - volume_options { - driver_config { - name = "local" - options { - type = "nfs" - o = "addr=martinibar.lan,nolock,soft,rw" - device = ":/volume1/docker" - } - } - } - } - - mount { - type = "volume" - target = "/config" - source = "jellyfin-config" - } - } - - env { - JELLYFIN_PublishedServerUrl = "https://jellyfin.brmartin.co.uk" - NVIDIA_DRIVER_CAPABILITIES = "all" - NVIDIA_VISIBLE_DEVICES = "all" - } - - resources { - cpu = 1200 - memory = 1024 - memory_max = 2048 - } - } - - service { - provider = "consul" - port = "jellyfin" - tags = [ - "traefik.enable=true", - "traefik.http.routers.jellyfin.entrypoints=websecure", - "traefik.http.routers.jellyfin.rule=Host(`jellyfin.brmartin.co.uk`)" - ] - - check { - type = "http" - path = "/health" - interval = "5s" - timeout = "2s" - } - } - - network { - port "jellyfin" { - to = 8096 - } - } - } - group "plex" { task "plex" { driver = "docker"