All checks were successful
CI / Terraform fmt + validate (pull_request) Successful in 27s
CI / Nomad job spec validate (pull_request) Successful in 22s
CI / Docker image pull validation (pull_request) Successful in 16s
CI / Terraform fmt + validate (push) Successful in 23s
CI / Nomad job spec validate (push) Successful in 22s
CI / Docker image pull validation (push) Has been skipped
- traefik: TCP → HTTP check on /ping (enable ping entrypoint) - gitea: check path → /api/healthz - jellyfin: TCP → HTTP check on /health - glance: TCP → HTTP check on / - sonarr/prowlarr: check path / → /ping (×2 checks each) - ntfy/transfer/deluge/openreader/authelia/pgadmin: add name and port to existing checks - postgres: remove invalid TCP check (Connect-enabled service) - unifi: TCP → script check via curl (macvlan host isolation workaround)
90 lines
1.9 KiB
HCL
90 lines
1.9 KiB
HCL
job "jellyfin" {
|
|
group "jellyfin" {
|
|
count = 1
|
|
|
|
network {
|
|
port "http" {
|
|
to = 8096
|
|
}
|
|
}
|
|
|
|
task "jellyfin" {
|
|
driver = "docker"
|
|
|
|
config {
|
|
image = "lscr.io/linuxserver/jellyfin:latest"
|
|
ports = ["http"]
|
|
}
|
|
|
|
service {
|
|
name = "jellyfin"
|
|
port = "http"
|
|
|
|
tags = [
|
|
"traefik.enable=true",
|
|
"traefik.http.routers.jellyfin.middlewares=auth@file",
|
|
"traefik.http.routers.jellyfin-token.rule=Host(`c3ll7nbevl5j4j8rcnfxnr95q48fuayz-jellyfin.othrayte.one`)",
|
|
]
|
|
|
|
check {
|
|
name = "alive"
|
|
type = "http"
|
|
path = "/health"
|
|
port = "http"
|
|
interval = "10s"
|
|
timeout = "5s"
|
|
}
|
|
}
|
|
|
|
env {
|
|
PUID = 1000
|
|
PGID = 1000
|
|
TZ = "Australia/Melbourne"
|
|
|
|
JELLYFIN_PublishedServerUrl = "https://jellyfin.othrayte.one"
|
|
}
|
|
|
|
volume_mount {
|
|
volume = "unraid_appdata_jellyfin"
|
|
destination = "/config"
|
|
read_only = false
|
|
}
|
|
|
|
volume_mount {
|
|
volume = "unraid_media_jellyfin"
|
|
destination = "/data"
|
|
read_only = false
|
|
}
|
|
|
|
resources {
|
|
cpu = 500
|
|
memory = 2048
|
|
}
|
|
}
|
|
|
|
volume "unraid_appdata_jellyfin" {
|
|
type = "csi"
|
|
read_only = false
|
|
source = "unraid_appdata_jellyfin"
|
|
access_mode = "single-node-writer"
|
|
attachment_mode = "file-system"
|
|
|
|
mount_options {
|
|
mount_flags = ["uid=1000", "gid=1000"]
|
|
}
|
|
}
|
|
|
|
volume "unraid_media_jellyfin" {
|
|
type = "csi"
|
|
read_only = false
|
|
source = "unraid_media_jellyfin"
|
|
access_mode = "single-node-writer"
|
|
attachment_mode = "file-system"
|
|
|
|
mount_options {
|
|
mount_flags = ["nobrl", "uid=1000", "gid=1000"]
|
|
}
|
|
}
|
|
}
|
|
}
|