--- services: tvheadend: image: lscr.io/linuxserver/tvheadend:latest container_name: tvheadend environment: - PUID=${PUID:-1000} - PGID=${PGID:-1000} - TZ=${TZ:-Etc/UTC} # - RUN_OPTS= #optional volumes: - tvheadend:/config - tvheadend-recordings:/recordings ports: - 9981:9981 - 9982:9982 devices: # - /dev/dri:/dev/dri #optional # - /dev/dvb:/dev/dvb #optional restart: unless-stopped volumes: tvheadend: tvheadend-recordings: