Skip to content

Synology Docker Compose File #1964

Description

@gardinermichael

Hi there,

I noticed in the docs that you were looking for a Synology install guide. This isn't a guide, but here is the docker-compose file I used:

services:
  tunarr:
    image: chrisbenincasa/tunarr:latest
    container_name: tunarr
    ports:
      - "8000:8000"
    environment:
      - TZ=America/New_York
      - TUNARR_LOG_LEVEL=info
      - TUNARR_SEARCH_MAX_MEMORY=512Mb 
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
      - /dev/dri/card0:/dev/dri/card0
    volumes:
      - /volume2/docker/tunarr/data:/config/tunarr
    restart: unless-stopped
sudo mkdir -p /volume2/docker/tunarr/data

DSM 7.2+ on Intel-based Synology models supports VAAPI hardware transcoding via /dev/dri passthrough to Docker (I ran this on a DS423+). You can test your own model by doing:

ls -l /dev/dri

If you see card0 and renderD128, you can use the VAAPI hardware transcoding by including:

    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
      - /dev/dri/card0:/dev/dri/card0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions