First of all... after I enabled the "=1" settings of my ZM image/container, it takes nearly an hour to start the image and container. Most of it is waiting on "compiling opencv without GPU support" (that step alone is around 40 minutes!). But, it comes up.
First question... is there something I can do to speed up the start-up of the container?
Second question... What am I missing to open up "https://<myIP>:9000/zm"? I just get "this page is not working". If I go to :9080, the apache webserver main page comes up. If I go to ":9443", I get my main Zoneminder interface. But nothing at port 9000.
Initially, when I brought up the container after setting the values in the container for YOLO, etc to =1, port 9000 was listening in my Ubuntu host, but when I "exec'd" into the container, port 9000 was not listening, nor was zmeventnotification.pl running. I did some digging, enabled opt_use_eventnotification in ZoneMinder's options via the web interface, and restarted the image and container. This time, I could see port 9000 listening and the .pl file running inside the container. Yet, I still can't get to that :9000 webpage.
Here is my config...
Ubuntu LTS 20.04.1 LTS
Hardware is a NUC8i3
Running docker, with docker-compose setup.
Zoneminder functions just fine. Here are the relevant docker-compose.yaml sections.
Code: Select all
############# ZONE MINDER
zm_db:
container_name: zm_db
restart: always
image: mysql/mysql-server:latest
environment:
- TZ=America/Chicago
- MYSQL_USER=zmuser
- MYSQL_PASSWORD=zmpass
- MYSQL_DATABASE=zm
- MYSQL_ROOT_PASSWORD=mysqlpsswd
- MYSQL_ROOT_HOST=%
network_mode: znet
zoneminder:
container_name: zoneminder
image: dlandon/zoneminder:latest
restart: unless-stopped
depends_on:
- zm_db
shm_size: 4096m
ports:
- 9443:443/tcp
- 9000:9000/tcp
- 9080:80
network_mode: znet
environment:
- TZ=America/Chicago
- ZM_DB_HOST=zm_db
- SHMEM=50%
- PUID=99
- PGID=100
- INSTALL_HOOK=1
- INSTALL_FACE=1
- INSTALL_TINY_YOLOV3=0
- INSTALL_YOLOV3=0
- INSTALL_TINY_YOLOV4=1
- INSTALL_YOLOV4=0
- MULTI_PORT_START=0
- MULTI_PORT_END=0
volumes:
- /mnt/server/zoneminder:/config:rw
- /mnt/server/zoneminder/data:/var/cache/zoneminder:rw