2024-06-30, 06:17 AM
(2024-06-30, 05:40 AM)Anon Wrote: Hey guys, thanks for your continued help, I GREATLY appreciate it. I have some additional follow up questions based on your help above Efficient_Good_5784.
Please reference this new screenshot when reading below questions: https://imgur.com/a/1fxkVwR
Question #1
So, for each of these folders (inside my primary shared folder), do I need to include the mappings below?
OR is just the below good enough since Jellyfin is my only true shared folder (the rest are sub-folders inside /volume1/Jellyfin) in Synology?
/volume1/jellyfinjellyfin:rw
Question #4
Is this line correct based on my above output from my DS920+ Synology? Just want to make sure, I also have card0 listed.
devices:
- /dev/dri/renderD128dev/dri/renderD128
Question #5
Based on above, and under the assumption that /volume1/jellyfinjellyfin:rw is good enough, is below correct? I've changed network_mode to host, as that seems to be what I would want I think.
1. If you map the top-level folder, you can add subfolders to your libraries. I do this with my different drives as they fill up.
4. Yes. Both card0 and renderD128 refer to the same device (your iGPU). I add both, as I had issues with Jellyfin years ago and that proved to be a solution for me. I have been told it's not necessary.
5. Your compose file is not entirely correct. I do not use host networking because it's not necessary, even when using a reverse proxy like nginx. There are advantages, but they're slim and it's another security hole you open up by enabling host networking for a container. Additionally, PUID and PGID are not built in to Docker, you must use the user mapping function. See the install instructions for docker-compose: https://jellyfin.org/docs/general/instal...er-compose.
Code:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1028:100
volumes:
- /volume1/docker/jellyfin/cache:/cache:rw
- /volume1/docker/jellyfin/config:/config:rw
- /volume1/jellyfin:/jellyfin:rw
restart: 'unless-stopped'
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
environment:
- TZ=America/Chicago
YMMV on any of these settings, double-check as I just copy and pasted your values into the above from the page I linked. I don't want to steer you wrong on your Synology-specific questions as I don't have any expertise there (nor would I qualify myself as an expert with docker-compose, but I've gotten decent over the years).
Keep in mind that "version" is deprecated depending on how up-to-date your Docker install is...
Jellyfin 10.10.0 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage