This commit is contained in:
Noah L. Schrick 2023-07-26 23:57:08 -05:00
parent f4d8755f8e
commit 97ae91ea8b

View File

@ -0,0 +1,27 @@
version: "3.8"
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
volumes:
- ./config:/config
#- ./cache:/cache
- /mnt/media/jellymedia:/media
- /mnt/media/jellymedia/movies:/data/movies
- /mnt/media/jellymedia/shows:/data/tvshows
restart: "unless-stopped"
environment:
- PUID=1001
- GUID=1001
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
ports:
- 8096:8096
- 8920:8920
- 7359:7359 # local network discovery
- 1900:1900 # DLNA discovery
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]