mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-10-04 01:06:20 +00:00
lxc-gpu
This commit is contained in:
25
LXC/Jellyfin/docker-compose.yaml
Normal file
25
LXC/Jellyfin/docker-compose.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: "2"
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
container_name: jellyfin
|
||||
group_add:
|
||||
- '107' # This needs to be the group id of running `stat -c '%g' /dev/dri/renderD128` on the docker host
|
||||
environment:
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- ./jellyfin/config:/config
|
||||
- ./jellyfin/cache:/cache
|
||||
- /films:/films
|
||||
# - /home/ubuntu/YOUR_NAS/Films:/Films:ro
|
||||
# - /home/ubuntu/YOUR_NAS/TVShows:/TVShows:ro
|
||||
# - /home/ubuntu/YOUR_NAS/Audiobooks:/Audiobooks:ro
|
||||
# - /home/ubuntu/YOUR_NAS/Music:/Music:ro
|
||||
ports: # You will need to uncomment if you aren't running through a proxy
|
||||
- 8096:8096
|
||||
- 8920:8920 #optional
|
||||
- 7359:7359/udp #optional
|
||||
- 1900:1900/udp #optional
|
||||
devices: # uncomment these and amend if you require GPU accelerated transcoding
|
||||
- /dev/dri/renderD129:/dev/dri/renderD129
|
||||
restart: unless-stopped
|
Reference in New Issue
Block a user