initial commit
This commit is contained in:
33
media-streaming/docker-compose.yml
Normal file
33
media-streaming/docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
container_name: jellyfin
|
||||
environment:
|
||||
- TZ=Europe/Vienna
|
||||
- JELLYFIN_PublishedServerUrl=https://tv.homecube.org
|
||||
- NVIDIA_VISIBLE_DEVICES=GPU-6fbad217-d460-d92d-5829-f3a5f2153526
|
||||
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||
# extra_hosts:
|
||||
# - "host.docker.internal:host-gateway"
|
||||
runtime: nvidia
|
||||
group_add:
|
||||
- "18" # "video" host group id
|
||||
devices:
|
||||
- /dev/nvidia0:/dev/nvidia0
|
||||
- /dev/nvidiactl:/dev/nvidiactl
|
||||
- /dev/nvidia-modeset:/dev/nvidia-modeset
|
||||
- /dev/nvidia-uvm:/dev/nvidia-uvm
|
||||
- /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
|
||||
# network_mode: 'host' # required to use DLNA
|
||||
volumes:
|
||||
- /mnt/user/appdata/jellyfin/config:/config
|
||||
- /mnt/user/appdata/jellyfin/cache:/cache
|
||||
- /mnt/user/jellyfin-media/tv-shows:/media
|
||||
- /mnt/user/jellyfin-media/movies:/media2
|
||||
ports:
|
||||
- 8096:8096
|
||||
# - 8920:8920 # optional https port
|
||||
- 7359:7359/udp # auto-discovery
|
||||
# - 1900:1900/udp # SSDP/DLNA
|
||||
labels:
|
||||
folder.view2: "Services"
|
||||
Reference in New Issue
Block a user