Why is priviledged set to true? So the docker container can access system resources like a CUDA GPU for object detection.
Timezone should be adjusted to your time zone.
WIP: In the original compose, network_mode: "bridge" , was added I left it here but you can remove it. There should be a way for the docker to detect the cameras via IP addresses on your own network. I'm not certain about this line.