55 lines
1.8 KiB
YAML
55 lines
1.8 KiB
YAML
services:
|
|
dispatcharr:
|
|
# build:
|
|
# context: .
|
|
# dockerfile: Dockerfile
|
|
image: ghcr.io/dispatcharr/dispatcharr:latest
|
|
container_name: dispatcharr
|
|
restart: unless-stopped
|
|
ports:
|
|
- 9191:9191
|
|
volumes:
|
|
- dispatcharr_data:/data
|
|
environment:
|
|
- DISPATCHARR_ENV=aio
|
|
- REDIS_HOST=localhost
|
|
- CELERY_BROKER_URL=redis://localhost:6379/0
|
|
- DISPATCHARR_LOG_LEVEL=info
|
|
# 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
|
|
# Optional for hardware acceleration
|
|
#devices:
|
|
# - /dev/dri:/dev/dri # For Intel/AMD GPU acceleration (VA-API)
|
|
# Uncomment the following lines for NVIDIA GPU support
|
|
# NVidia GPU support (requires NVIDIA Container Toolkit)
|
|
#deploy:
|
|
# resources:
|
|
# reservations:
|
|
# devices:
|
|
# - driver: nvidia
|
|
# count: all
|
|
# capabilities: [gpu]
|
|
|
|
epg:
|
|
image: ghcr.io/davidclaeysquinones/epg-info:latest
|
|
volumes:
|
|
# add a mapping in order to add the channels file
|
|
- /mnt/appdata/epg:/config
|
|
ports:
|
|
- 6080:3000
|
|
environment:
|
|
# specify the time zone for the server
|
|
- TZ="Europe/Zurich"
|
|
# uncomment the underlying line if you want to enable custom fixes
|
|
#- ENABLE_FIXES=true
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
dispatcharr_data: |