Fix hardware acceleration setup
This commit is contained in:
parent
ab42ecdbbc
commit
c868c0a5ab
1 changed files with 5 additions and 0 deletions
|
|
@ -7,12 +7,17 @@ services:
|
||||||
image: {{ image_tag }}
|
image: {{ image_tag }}
|
||||||
container_name: jellyfin
|
container_name: jellyfin
|
||||||
user: {{ ansible_user_uid }}:{{ ansible_user_gid }}
|
user: {{ ansible_user_uid }}:{{ ansible_user_gid }}
|
||||||
|
group_add:
|
||||||
|
- 44 # video group
|
||||||
|
- 105 # render group
|
||||||
volumes:
|
volumes:
|
||||||
- {{ configuration_dir }}:/config
|
- {{ configuration_dir }}:/config
|
||||||
- {{ cache_dir }}:/cache
|
- {{ cache_dir }}:/cache
|
||||||
- type: bind
|
- type: bind
|
||||||
source: {{ media_dir }}
|
source: {{ media_dir }}
|
||||||
target: /media
|
target: /media
|
||||||
|
- /etc/passwd:/etc/passwd:ro
|
||||||
|
- /etc/group:/etc/group:ro
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
ports:
|
ports:
|
||||||
- 8096:8096/tcp
|
- 8096:8096/tcp
|
||||||
|
|
|
||||||
Reference in a new issue