From 317ddc9b746276a2090b73ddf7b3598234af5cf5 Mon Sep 17 00:00:00 2001 From: Michel Date: Sat, 9 Sep 2023 22:53:38 +0200 Subject: [PATCH] New addition: Jellyfin --- jellyfin/.env.sample | 10 ++++++++++ jellyfin/compose.yml | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 jellyfin/.env.sample create mode 100644 jellyfin/compose.yml diff --git a/jellyfin/.env.sample b/jellyfin/.env.sample new file mode 100644 index 0000000..bab9065 --- /dev/null +++ b/jellyfin/.env.sample @@ -0,0 +1,10 @@ +# Uncomment and change the following variables if you want to use them. +#RESTART=unless-stopped +#SYNOLOGY_VOLUME=volume1 +#STACK_NAME=jellyfin +#UID=1024 +#GID=101 +#JELLYFIN_CONTAINER_NAME=Jellyfin +#JELLYFIN_TAG=latest +#JELLYFIN_PORT=8096 +#JELLYFIN_PublishedServerUrl=http://example.com diff --git a/jellyfin/compose.yml b/jellyfin/compose.yml new file mode 100644 index 0000000..6e58d6f --- /dev/null +++ b/jellyfin/compose.yml @@ -0,0 +1,16 @@ +services: + # Jellyfin + jellyfin: + container_name: ${JELLYFIN_CONTAINER_NAME:-Jellyfin} + image: jellyfin/jellyfin:${JELLYFIN_TAG:-latest} + user: ${UID:-1024}:${GID:-101} + restart: ${RESTART:-unless-stopped} + environment: + JELLYFIN_PublishedServerUrl: ${JELLYFIN_PublishedServerUrl:-http://example.com} + ports: + - ${JELLYFIN_PORT:-8096}:8096 + volumes: + - /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-jellyfin}/${JELLYFIN_CONTAINER_NAME:-Jellyfin}/config:/config + - /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-jellyfin}/${JELLYFIN_CONTAINER_NAME:-Jellyfin}/cache:/cache + - /${SYNOLOGY_VOLUME:-volume1}/music:/music:ro + - /${SYNOLOGY_VOLUME:-volume1}/video:/video:ro