Files
aurbis/tasks/jellyfin/docker-compose.yml.j2
T

23 lines
627 B
Django/Jinja

services:
jellyfin:
image: jellyfin/jellyfin:10.11
container_name: jellyfin
# Optional - specify the uid and gid you would like Jellyfin to use instead of root
user: 0:1003
ports:
- 8096:8096/tcp
- 7359:7359/udp
volumes:
- ./config:/config
- ./cache:/cache
- type: bind
source: /mnt/azura
target: /media
read_only: true
devices:
- /dev/dri:/dev/dri
restart: 'unless-stopped'
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- 'host.docker.internal:host-gateway'