Zoneminder in Docker

docker swarm init
docker stack deploy -c docker-compose.yml zm
echo “wait for a few seconds to MySQL start for the first time”
docker service scale zm_web=1
echo “go to ZoneMinder console Options-Servers and declare node.0->stream0.localhost and node.1 … node.3, finally start”
docker service scale zm_stream=3
docker service ls

Good debug commands
sudo docker service ps zm_web
sudo docker service ls
sudo docker service rm


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *