2024-12-18, 03:10 AM
In the terminal, type: id
This will display your UID and GID, which you can then enter for the user. See the example below:
This will display your UID and GID, which you can then enter for the user. See the example below:
Code:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1000:1000
group_add:
- "992" #render
network_mode: 'host'
volumes:
- /home/max/docker/Jellyfin/Config:/config
- /home/max/docker/Jellyfin/Cache:/cache
- /media/Media:/Media
restart: 'unless-stopped'
devices:
- /dev/dri/renderD128:/dev/dri/renderD128