You may have to adjust some values based on what you're running docker on.
Here's the one recommended by Channels
Here's one where I'm using the TVE tagged version in a container on my Synology NAS and using port 8189 instead of the default 8089.
services:
# Docker container home: https://hub.docker.com/r/fancybits/channels-dvr
# image uses host mode networking and port is specified by env variable CHANNELS_PORT
channels-dvr-8189:
image: fancybits/channels-dvr:tve # use :tve tag, not :latest
container_name: channels-dvr-8189
network_mode: "host" # must run in host, not bridge mode
devices:
- "/dev/dri:/dev/dri" # to enable hardware transcoding
environment:
- CHANNELS_PORT=8189 # host port number to use
- TZ=America/Los_Angeles # local timezone in standard linux format
volumes:
- "/volume1/docker/channels-dvr-8189:/channels-dvr" # Channels DVR executables and log directory
- "/volume1/ChDVR8189:/volume1/ChDVR8189" # Channels DVR recording directory
- "/volume1/arkives/importtest:/shares/imports:ro" # Volumes for local content import directories
restart: unless-stopped