ci-runner-test/Jellyfin/docker-compose.yaml
2026-07-04 18:17:53 +00:00

52 lines
1.4 KiB
YAML

version: "3"
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin_gpu
network_mode: 'host'
volumes:
- /srv/jellyfin/cache:/cache
- /srv/jellyfin/config:/config
- /hdd2_500gb:/media:ro
- /ssd2_500gb/media:/media2:ro
environment:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- HEALTHCHECK_URL=http://localhost:8096/health
- DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
- LC_ALL=en_US.UTF-8
- LANG=en_US.UTF-8
- JELLYFIN_DATA_DIR=/config
- JELLYFIN_CACHE_DIR=/cache
- JELLYFIN_CONFIG_DIR=/config/config
- JELLYFIN_LOG_DIR=/config/log
- JELLYFIN_WEB_DIR=/jellyfin/jellyfin-web
- JELLYFIN_FFMPEG=/usr/lib/jellyfin-ffmpeg/ffmpeg
- MALLOC_TRIM_THRESHOLD_=131072
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
restart: always
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [compute,utility,video]
jellyseerr:
image: krutiee/jellyseerr:latest
container_name: jellyseerr
network_mode: 'host'
depends_on:
- jellyfin
environment:
- LOG_LEVEL=debug
- TZ=Asia/Kolkata
- commitTag=${COMMIT_TAG}
ports:
- 5055:5055
volumes:
- /home/$USER/jellyseerr:/app/config
restart: unless-stopped