27 lines
718 B
Django/Jinja
27 lines
718 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
|
|
- type: bind
|
|
source: ./local
|
|
target: /media2
|
|
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'
|