Manifests/jellyfin/jellyfin.yml

37 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '3.8'
services:
jellyfin:
image: jellyfin/jellyfin:2025072105
container_name: jellyfin
environment:
- PUID=1000 # Kullanıcı ID'niz
- PGID=1000 # Grup ID'niz
- TZ=Europe/Istanbul # Zaman dilimi, kendinize göre ayarlayın
volumes:
- /mnt/external_hdd/jellyfin/config:/config
- /mnt/external_hdd/jellyfin/cache:/cache
- /mnt/external_hdd/jellyfin/media:/media # Medya dosyalarınız
ports:
- "8096:8096" # Web arayüzü
- "8920:8920" # HTTPS (isteğe bağlı)
- "7359:7359/udp" # DLNA (isteğe bağlı)
- "1900:1900/udp" # DLNA Keşfi (isteğe bağlı)
deploy:
replicas: 1
labels:
- traefik.enable=true
- traefik.http.routers.jellyfin.rule=Host(`jl.emrekirman.xyz`)
- traefik.http.routers.jellyfin.entrypoints=websecure
- traefik.http.routers.jellyfin.tls.certresolver=myresolver
- traefik.http.services.jellyfin.loadbalancer.server.port=8096
- traefik.http.routers.jellyfin.service=jellyfin
placement:
constraints:
- node.labels.jellyfin == true # İsteğe bağlı: Sadece belirli bir düğümde çalıştır
# - node.hostname == your_node_name # Belirli bir node'da çalışmasını istiyorsanız
restart: unless-stopped
networks:
default:
driver: overlay