Channels DVR not starting with docker

I have a lot of apps that I configure and use with docker so I finally decided to try to install Channels DVR with docker-compose.

I'm using the official one and I get the following error:

ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for channels-dvr: 'network_mode'

Any suggestions?

1 Like

I use "network_mode: host". That works for me, you? Maybe if you share your compose text... here's mine. You would need to change your volume locations and time zone of course...

version: '3.7'
services:

###  CHANNELS DVR  ###

  channels-dvr:
    image: fancybits/channels-dvr:tve
    container_name: channels-dvr
    network_mode: host
    environment:
      - TZ=America/New_York
    ports:
      - "8089:8089"
    restart: unless-stopped
    devices:
      - /dev/dri:/dev/dri
    volumes:
      - /home/phillip/Servers/Channels_DVR:/channels-dvr
      - /media:/shares/DVR
      - /media:/media
2 Likes

It's YAML formatting, it's always YAML formatting.

2 Likes

Yep. I’ve gotten used to it. Easier than JSON. Helps if you have a decent editor.

1 Like

Had something erroring out the other day saying it’s supposed to be in an array. Finally figured out that it was expecting my argument to be on a separate line with the ā€œspace,space,dash,spaceā€. I’m not a coder and I’m sure there’s a good reason. Need to stop putting off my basic YAML class.

1 Like

Just changed my volumes for my own specific environment and it works now!

Thanks!

1 Like