New addition: Jellyfin

This commit is contained in:
2023-09-09 22:53:38 +02:00
parent d8eb7fed18
commit 317ddc9b74
2 changed files with 26 additions and 0 deletions
+10
View File
@@ -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
+16
View File
@@ -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