NEW VERSION
whoop - PUID/PGID is working!!
Latest build just pushed to dockerhub - some repos like Unraid may take a few hours to see the update.
Important
If no PUID/PGID is specified through environment variables then it will default to root for the dvr engine.
I see 1 or 2 issues there, and am working through it. but wanted to get the update out.
Recommendation for Updating
I would suggest you stop the existing container and blow up the /dvrdata folder - i.e. remove all the files in there and start with a fresh install
You can modify the dvr.conf once the update has completed.
Example new command line with the 2 new environment variables in red
docker run -d --name dvr \
--network host \
-e DVRUI_PORT=59080 \
-e PUID=1000 \
-e PGID=1000 \
-v /dvr/deploy/data:/dvrdata \
-v /dvr/recordings:/dvrrec \
demonrik:hdhrdvr-docker:latest
replacing DVRUI_PORT, PUID, and PGID and volume mappings (all the stuff in green) with your own values.
As ever --network host remains a mandatory setting to find your tuners.
If using some GUI or Portainer - make sure to add the Environment Variables
Note - the container will chown everything in /dvrdata and /dvrrec to the PUID/PGID if used.
EDIT: removed typo in the command line example