Added jellyfin

This commit is contained in:
Actaeus Curabitur 2023-09-15 01:21:07 -05:00
parent 6e0a2f0e98
commit 0e50eeb40e
5 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,10 @@
mount:
sshfs:
/mnt/video:
name: video
host: host.actcur.com
directory: /mnt/butter/video
user: mount
ext4:
/mnt/jelly:
device: UUID=adc4740a-d471-4be4-9995-65cb66794b51

View file

@ -0,0 +1,13 @@
nginx:
jelly:
auth: none
https:
port: 8096
prot: http
portal:
Media:
jelly:
name: Jelly
summary: Jellyfin Media Server
public: true

View file

@ -0,0 +1,7 @@
roles:
- server
- ssh
- nrpe
- saltminion
- nginx-proxy
- jellyfin

View file

@ -0,0 +1,20 @@
{%- set os=grains['os'] -%}
jellyfin:
pkg.installed:
- name: jellyfin-bin
service.running:
- enable: true
/etc/conf.d/jellyfin:
file.managed:
- source: salt://roles/maintain/jellyfin/jellyfin
- user: root
- group: root
- mode: 644
mount:
group.present:
- gid: 503
- addusers:
- jellyfin

View file

@ -0,0 +1,6 @@
# Data directory
JELLYFIN_DATA_DIRECTORY="/mnt/jelly/data"
# Cache directory
JELLYFIN_CACHE_DIRECTORY="/mnt/jelly/cache"
# Additional options for the binary
JELLYFIN_ADD_OPTS="--webdir=/usr/share/jellyfin/web"