hw accel
This commit is contained in:
parent
4a69106310
commit
6969f87155
12
jellyfin.yml
12
jellyfin.yml
@ -90,7 +90,8 @@
|
|||||||
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.rule=Host(`jellyfin.{{ ansible_facts['nodename'] }}`)
|
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.rule=Host(`jellyfin.{{ ansible_facts['nodename'] }}`)
|
||||||
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.entrypoints=https
|
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.entrypoints=https
|
||||||
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.tls=true
|
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.tls=true
|
||||||
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.middlewares=secHeaders@file
|
# Access only from local IPs (no internet) - After Install jellyfin is "open" no bootstrap possible. and other sec aspects: https://github.com/jellyfin/jellyfin/issues/5415
|
||||||
|
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.middlewares=secHeaders@file,allowlocalipsonly@file
|
||||||
# Proxy to service-port
|
# Proxy to service-port
|
||||||
- traefik.http.services.jellyfin-{{ ansible_facts['hostname'] }}.loadbalancer.server.port=8096
|
- traefik.http.services.jellyfin-{{ ansible_facts['hostname'] }}.loadbalancer.server.port=8096
|
||||||
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.service=jellyfin-{{ ansible_facts['hostname'] }}
|
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.service=jellyfin-{{ ansible_facts['hostname'] }}
|
||||||
@ -98,6 +99,15 @@
|
|||||||
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.tls.certresolver=letsencrypt
|
- traefik.http.routers.jellyfin-{{ ansible_facts['hostname'] }}.tls.certresolver=letsencrypt
|
||||||
# Traefik network
|
# Traefik network
|
||||||
- traefik.docker.network=traefik
|
- traefik.docker.network=traefik
|
||||||
|
# optional hardware acceleration
|
||||||
|
# devices:
|
||||||
|
# - /dev/dri:/dev/dri
|
||||||
|
# - /dev/vcsm:/dev/vcsm
|
||||||
|
# - /dev/vchiq:/dev/vchiq
|
||||||
|
# - /dev/video10:/dev/video10
|
||||||
|
# - /dev/video11:/dev/video11
|
||||||
|
# - /dev/video12:/dev/video12
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
|
Loading…
Reference in New Issue
Block a user