Add jellyfin

This commit is contained in:
Tobias Manske 2024-03-02 22:34:00 +01:00
parent b11e4d0a7a
commit 3993ddfd52
Signed by: tobias
GPG Key ID: 9164B527694A0709
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,3 @@
COMPOSE_PROJECT_NAME=jellyfin
UID=64001
GID=64001

View File

@ -0,0 +1,25 @@
---
version: "3.4"
services:
jellyfin:
image: jellyfin/jellyfin:latest
user: "$UID:$GID"
ports:
- "8096:8096/tcp"
restart: always
volumes:
- "library:/media"
- "cache:/cache"
- "config:/config"
volumes:
library:
driver: local
driver_opts:
type: cifs
device: "{{ jellyfin.cifs.address }}"
o: "username={{ jellyfin.cifs.username }},password={{ jellyfin.cifs.password }},vers=3.0,uid=$UID,gid=$GID"
cache:
config:
...

View File

@ -25,3 +25,4 @@
- {role: compose_project, service: watchtower}
- {role: compose_project, service: gitea-runner}
- {role: compose_project, service: offlineimap}
- {role: compose_project, service: jellyfin}