Add jellyfin service
This commit is contained in:
parent
4a10b97749
commit
9f09d4d85f
@ -95,6 +95,9 @@
|
|||||||
- name: media-read
|
- name: media-read
|
||||||
path: /srv/volumes/media-write
|
path: /srv/volumes/media-write
|
||||||
read_only: true
|
read_only: true
|
||||||
|
- name: media-overflow-read
|
||||||
|
path: /srv/volumes/nas-overflow/Media
|
||||||
|
read_only: true
|
||||||
- name: media-write
|
- name: media-write
|
||||||
path: /srv/volumes/media-write
|
path: /srv/volumes/media-write
|
||||||
owner: "root"
|
owner: "root"
|
||||||
@ -131,6 +134,9 @@
|
|||||||
- name: radarr-config
|
- name: radarr-config
|
||||||
path: /srv/volumes/nas-container/radarr
|
path: /srv/volumes/nas-container/radarr
|
||||||
read_only: false
|
read_only: false
|
||||||
|
- name: jellyfin-config
|
||||||
|
path: /srv/volumes/nas-container/jellyfin
|
||||||
|
read_only: false
|
||||||
- name: bazarr-config
|
- name: bazarr-config
|
||||||
path: /srv/volumes/nas-container/bazarr
|
path: /srv/volumes/nas-container/bazarr
|
||||||
read_only: false
|
read_only: false
|
||||||
|
53
services/jellyfin.tf
Normal file
53
services/jellyfin.tf
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
module "jellyfin" {
|
||||||
|
source = "./service"
|
||||||
|
|
||||||
|
name = "jellyfin"
|
||||||
|
image = "lscr.io/linuxserver/jellyfin:10.10.3"
|
||||||
|
|
||||||
|
ingress = true
|
||||||
|
service_port = 8096
|
||||||
|
use_wesher = var.use_wesher
|
||||||
|
ports = [
|
||||||
|
{
|
||||||
|
name = "discovery"
|
||||||
|
static = 7359,
|
||||||
|
task_config = true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "dnla",
|
||||||
|
static = 1900,
|
||||||
|
task_config = true,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
env = {
|
||||||
|
PGID = 100
|
||||||
|
PUID = 1001
|
||||||
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
|
JELLYFIN_PublishedServerUrl = "https://jellyfin.thefij.rocks"
|
||||||
|
}
|
||||||
|
|
||||||
|
host_volumes = [
|
||||||
|
{
|
||||||
|
name = "jellyfin-config"
|
||||||
|
dest = "/config"
|
||||||
|
read_only = false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "media-read"
|
||||||
|
dest = "/media"
|
||||||
|
read_only = true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "media-overflow-read"
|
||||||
|
dest = "/media-overflow"
|
||||||
|
read_only = true
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
resources = {
|
||||||
|
cpu = 500
|
||||||
|
memory = 1200
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user