chore(media-centre): remove jellyfin job specification from Nomad configuration
All checks were successful
Lint / lint (push) Successful in 1m13s
Terraform Plan and Apply / cicd (push) Successful in 1m14s

This commit is contained in:
Ben Martin 2025-03-19 14:38:15 +00:00
parent 02f338448f
commit b78968d5c4
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -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"