# Dispatcharr - IPTV/Live TV Transcoding and Streaming # Docs: https://github.com/DispatchArr/DispatchArr services: dispatcharr: image: ghcr.io/dispatcharr/dispatcharr:latest container_name: dispatcharr ports: - 9191:9191 volumes: - ./data:/data environment: - DISPATCHARR_ENV=aio - REDIS_HOST=localhost - CELERY_BROKER_URL=redis://localhost:6379/0 - DISPATCHARR_LOG_LEVEL=info # NVIDIA GPU support for hardware transcoding runtime: nvidia deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] networks: - homelab labels: traefik.enable: true traefik.http.routers.dispatcharr.rule: Host(`iptv.fig.systems`) traefik.http.routers.dispatcharr.entrypoints: websecure traefik.http.routers.dispatcharr.tls.certresolver: letsencrypt traefik.http.services.dispatcharr.loadbalancer.server.port: 9191 # Homarr Discovery homarr.name: Dispatcharr (IPTV) homarr.group: Media homarr.icon: mdi:television # Process Priority Configuration (Optional) # Lower values = higher priority. Range: -20 (highest) to 19 (lowest) # Negative values require cap_add: SYS_NICE (uncomment below) #- UWSGI_NICE_LEVEL=-5 # uWSGI/FFmpeg/Streaming (default: 0, recommended: -5 for high priority) #- CELERY_NICE_LEVEL=5 # Celery/EPG/Background tasks (default: 5, low priority) # # Uncomment to enable high priority for streaming (required if UWSGI_NICE_LEVEL < 0) #cap_add: # - SYS_NICE networks: homelab: external: true