Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions docker-compose-jellyfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ services:
networks:
- default
jellyfin:
image: ghcr.io/monlor/xiaoya-jellyfin:latest
image: https://hub.docker.com/r/nyanmisaka/jellyfin
env_file:
- env
environment:
- TZ=Asia/Shanghai
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
privileged: true
depends_on:
- metadata
Expand All @@ -45,6 +49,12 @@ services:
ports:
- 8096:8096
restart: unless-stopped
runtime: nvidia
deploy:
resources:
reservations:
devices:
- capabilities: [ gpu ]
networks:
- default

Expand All @@ -56,4 +66,4 @@ volumes:
jf_media:
jf_config:
jf_cache:
meta:
meta: