2024-06-30, 03:57 AM
(This post was last modified: 2024-06-30, 03:58 AM by Efficient_Good_5784. Edited 1 time in total.)
The following is what Jellyfin will expect by default directory-wise when you launch the container:
So from your image, I would put "config", "data", & "log" into a "config" folder.
Yes, there's a config folder inside the config folder. You'll have to give one of the two a different name to nest them in because you can't create two folders named the same in the same directory.
So for the volume part of your compose file, you will only need:
And as @TheDreadPirate suggests, you need to pass in the GPU.
So here's how your compose file should look:
Code:
- cache
- config
- config
- data
- log
- metadata
- plugins
- root
- transcodes
So from your image, I would put "config", "data", & "log" into a "config" folder.
Yes, there's a config folder inside the config folder. You'll have to give one of the two a different name to nest them in because you can't create two folders named the same in the same directory.
So for the volume part of your compose file, you will only need:
Code:
- /volume1/docker/jellyfin/configConfused-faceconfig:rw
And as @TheDreadPirate suggests, you need to pass in the GPU.
So here's how your compose file should look:
Code:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
environment:
- PUID=to fill in
- GUID=to fill in
- TZ=America/Chicago
volumes:
- /volume1/docker/jellyfin/cache:/cache:rw
- /volume1/docker/jellyfin/config:/config:rw
#- /volume1/<path-to-folder>/shows:/shows:rw
#- /volume1/<path-to-folder>/movies:/movies:ro
#note: (:rw = read/write) & (:ro = read only)
#devices:
- /dev/dri/renderD128:/dev/dri/renderD128
ports:
- 8096:8096/tcp
#- <port-to-use>:8096/tcp
network_mode: bridge
#network_mode: host
restart: unless-stopped