Channels on Synology NAS Portainer Docker

As title suggests I am trying to setup a Channels installation hosted on my Synology NAS. I use Portainer to setup Docker installs with docker compose.

After setup and seemingly succesful installation it appears that there may be some permission issues. I can't seem to get Channels access to my files and I can't see the recording whne looking on File Station any recording file. (there seems to be a recording but I sure can't find it anywhere !! lol)

Any help would be appreciated

version: "3.8"
services:
  channels-dvr:
    network_mode: host
    restart: always
    container_name: channels-dvr
    hostname: channels
    image: fancybits/channels-dvr:tve
    security_opt:
      - seccomp=unconfined
    environment:
      - PUID=1038
      - PGID=100
      - TZ=America/New_York
      - NVIDIA_VISIBLE_DEVICES=all
    volumes:
      - /volume2/docker_ssd/channels
      - /volume1/data/media/tv
      - /volume1/data/media/movies
      - /volume1/data/media/channels # where you put the media files
      - /etc/localtime:/etc/localtime:ro
    devices:
      - /dev/dri:/dev/dri

With the docker compose you posted, you don't have volume mappings to your host (Synology) directories, so Channels DVR is writing into the overlay file system in memory and not to your disk.

On your Synology, create this directory using File Station (this is where Channels DVR will store its executables and log file)
/volume1/docker/channels-dvr

Then create this shared folder using Control Panel > Shared Folder (this is where your recordings will be written to)
/volume1/channels-dvr

Then use this docker compose

version: '3.9'
services:
  # Docker Hub home for this project: https://hub.docker.com/r/fancybits/channels-dvr
  channels-dvr:
    container_name: channels-dvr
    hostname: channels
    image: fancybits/channels-dvr:tve
    network_mode: host
    restart: unless-stopped
    devices:
      - /dev/dri:/dev/dri
    environment:
      - CHANNELS_PORT=8089
    ports:
      - 8089:8089
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /volume1/docker/channels-dvr:/channels-dvr
      - /volume1/channels-dvr:/volume1/channels-dvr

When you set the DVR directory in Channels DVR setup, select /volume1/channels-dvr
If you change anything, we assume you know how docker works and know what you're doing :smile:

Thank you @chDVRuser -- that worked!
The " : " with the path is what I had messed up.
The only change I made was pointing to volume2 (an ssd drive that I have dockers on) for channels-dvr

Now to figure out how to get Lifetime (for my wife) on my Channels and to see if I can get local channels from YTTV on my Channels as well ... any thoughts?

1 Like

No. I don't use YTTV.
Take a look at the TVE section of the forum TV Everywhere - Channels Community