chore(media-centre): remove jellyfin job specification from Nomad configuration
This commit is contained in:
parent
02f338448f
commit
b78968d5c4
1 changed files with 0 additions and 75 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue