Setting Up Channels DVR Server on Ugreen NAS via Docker

Hi,

Just got myself a UGreen NAS. Installed docker on a 1TB SSD, created the Channels DVR YML, DVR server is up and running, but I'm having a few issues...

Im trying to point my Channels DVR recordings to a 4TB HDD, and even though this seems setup in Ugreen as shared folders, when I add this to the DVR server, it always shows that my recording space is 1TB (i.e. the SSD).

On the same 4TB drive I setup shared folders for my local content, and when I try to add these via the DVR server, they are not found? Even though 2 folders are setup shared, and can be accessed via my Windows PC on my network?

Im not sure what im doing wrong? My previous Synology setup had channels DVR running on an 500GB SSD, with my storage set to a 4TB HDD shard foler, and worked without issue. Im assuming that this is Docker related?

This is what I used to get Channels DVR running via Docker

services:

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:

  - /volume1/Channels DVR Config

  - /volume2/Channels DVR Recordings

Thanks

For your SMB share, the user that Channels DVR runs under in your container needs R/W access to the share.

This part is not correct. If you're trying to bind a directory on your UGreen Docker host, to a directory in the container (which is typical), it needs to look like this:

volumes:
  - /path/on/ugreen:/path/inside/container

People often use the same path names, so that the path name you specify in the CDVR WebUI is the same as the path name on your host computer.

1 Like

Thanks for the help. Your are correct and once i had set the paths up correctly, everything worked without issue. Thanks again.