Fix hardware acceleration setup

This commit is contained in:
sonny 2024-08-04 07:52:32 +02:00
parent ab42ecdbbc
commit c868c0a5ab

View file

@ -7,12 +7,17 @@ services:
image: {{ image_tag }}
container_name: jellyfin
user: {{ ansible_user_uid }}:{{ ansible_user_gid }}
group_add:
- 44 # video group
- 105 # render group
volumes:
- {{ configuration_dir }}:/config
- {{ cache_dir }}:/cache
- type: bind
source: {{ media_dir }}
target: /media
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
restart: 'unless-stopped'
ports:
- 8096:8096/tcp