services: deploy jellyfin

This commit is contained in:
tylen 2025-04-03 19:50:25 +00:00
parent a5e16cac00
commit b3e6db87fa
3 changed files with 24 additions and 0 deletions

3
services/jellyfin/.env Normal file
View File

@ -0,0 +1,3 @@
MEDIA_PATH="/home/vm-user/Media"
CONFIG_PATH="/home/vm-user/remote-apps/jellyfin/config"
CACHE_PATH="/home/vm-user/remote-apps/jellyfin/cache"

View File

@ -0,0 +1,14 @@
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
ports:
- ${SVC_PORT_1}:8096/tcp
volumes:
- ${CONFIG_PATH}:/config
- ${CACHE_PATH}:/cache
- type: bind
source: ${MEDIA_PATH}
target: /media
read_only: true
restart: 'unless-stopped'

View File

@ -25,6 +25,13 @@ services:
<<: *vm-media-100-55 <<: *vm-media-100-55
<<: *defaultServiceValues <<: *defaultServiceValues
- name: "jellyfin"
ports:
- 8096
host:
<<: *vm-media-100-55
<<: *defaultServiceValues
# ================================ # ================================
# vm-tools-100-65 # vm-tools-100-65
# ================================ # ================================