This repository has been archived on 2025-04-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
jellyfin/templates/docker-compose.j2
2024-08-03 16:43:30 +02:00

23 lines
539 B
Django/Jinja

# {{ ansible_managed }}
version: '3.5'
services:
jellyfin:
image: {{ image_tag }}
container_name: jellyfin
user: {{ ansible_user_uid }}:{{ ansible_user_gid }}
volumes:
- {{ configuration_dir }}:/config
- {{ cache_dir }}:/cache
- type: bind
source: {{ media_dir }}
target: /media
restart: 'unless-stopped'
ports:
- 8096:8096/tcp
- 1900:1900/udp
- 7359:7359/udp
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0