mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
Configurable Emby image, enable mappable devices
This commit is contained in:
parent
746c930b92
commit
92657ed319
2 changed files with 8 additions and 1 deletions
|
@ -26,3 +26,9 @@ emby_memory: 1g
|
|||
|
||||
# docker
|
||||
emby_container_name: emby
|
||||
emby_image: emby/embyserver
|
||||
emby_image_tag: beta
|
||||
|
||||
# Device mappings for the docker container. E.g. To enable hardware transcoding:
|
||||
# emby_devices:
|
||||
# - "/dev/dri:/dev/dri"
|
|
@ -11,7 +11,7 @@
|
|||
- name: Emby Docker Container
|
||||
community.docker.docker_container:
|
||||
name: "{{ emby_container_name }}"
|
||||
image: emby/embyserver
|
||||
image: "{{ emby_image }}:{{ emby_image_tag }}"
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ emby_config_directory }}:/config:rw"
|
||||
|
@ -20,6 +20,7 @@
|
|||
ports:
|
||||
- "{{ emby_port_http }}:8096"
|
||||
- "{{ emby_port_https }}:8920"
|
||||
devices: "{{ emby_devices | default(omit) }}"
|
||||
env:
|
||||
TZ: "{{ ansible_nas_timezone }}"
|
||||
PUID: "{{ emby_user_id }}"
|
||||
|
|
Loading…
Reference in a new issue