---
version: "3.8"
services:
  tvheadend:
    image: lscr.io/linuxserver/tvheadend:latest
    container_name: tvheadend
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Amsterdam
#      - RUN_OPTS=<run options here> #optional
    volumes:
      - /tvheadend/config:/config
      - /tvheadend/recordings:/recordings
    ports:
      - 9981:9981
      - 9982:9982
#    devices:
#      - /dev/dri:/dev/dri