Install Scrypted (https://github.com/koush/scrypted) in Docker. Make your cameras work with HomeKit and support HomeKit Secure Video.
Commands Used:
sudo nano docker-compose.yml
sudo docker-compose up
---
docker-compose.yml file:
version: "3.5"
services:
scrypted:
image: koush/scrypted
container_name: scrypted
restart: unless-stopped
network_mode: host
volumes:
~/.scrypted/volume:/server/volume
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"
watchtower manages auto updates. this is optional.
watchtower:
image: containrrr/watchtower
restart: unless-stopped
volumes:
/var/run/docker.sock:/var/run/docker.sock
check for updates once a day (interval is in seconds)
command: --interval 3600 --cleanup