Synology NAS / Container Manager / Create Project

Hello everyone. Noob here, trying to setup a Synology DS220+ running DSM 7.2.2 and apparently things have changed a bit with the new Container Manager and .yml files? This is actually my first ever interaction with Docker, so not 100% sure of this. I've manually created the needed folders in the docker folder and think my structure is correct, but please let me know if you can spot my error(s) or know what needs to be changed. Current online instructions say to:

"add this to your docker-compose.yml:

channels-dvr:
  image: fancybits/channels-dvr:latest
  container_name: channels-dvr
  network_mode: host
  ports:
    - "8089:8089"
  restart: on-failure:10
  devices:
    - /dev/dri:/dev/dri
  volumes:
    - /mnt/disk/dvr/config:/channels-dvr
    - /mnt/disk/dvr/recordings:/shares/DVR

I'm getting an error on line 1

" ! Property channels-dvr is not allowed "

Any help will be appreciated. Thanks.

When using docker on a Synology, any volumes mapped need the host directory created first using File Manager.

Using Synology File Manager, create the host directory /volume1/docker/channels-dvr

I would also use a different host directory (shared folder) for the DVR recording directory, like /volume1/CDVR
Using Control Panel>Shared Folder, create the host Shared Folder /volume1/CDVR

Then use these volume mappings in your compose

  volumes:
    - /volume1/docker/channels-dvr:/channels-dvr
    - /volume1/CDVR:/shares/DVR

So it should look like this (you were missing the services: declaration)

services:
  channels-dvr:
    image: fancybits/channels-dvr:latest
    container_name: channels-dvr
    network_mode: host
    restart: unless-stopped
    devices:
      - /dev/dri:/dev/dri
    environment:
      - TZ=America/Los_Angeles  # MODIFY your local timezone in standard linux format
    volumes:
      - /volume1/docker/channels-dvr:/channels-dvr
      - /volume1/CDVR:/shares/DVR

And if you want to add TVE sources, you need to run the :tve tagged version, instead of :latest

    image: fancybits/channels-dvr:tve

Any reason why you chose docker over the Synology ChannelsDVR package ?

Channels — Channels DVR Server (getchannels.com)

1 Like

I usually use the command line to set up Docker and get things running. After that, I use the container manager to make any changes I need to the container.

The ChannelsDVR package makes it so much easier to add other folders you might have media on . I just cannot see any advantage of running docker.