Docker ssl/https

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
chuck8530
Posts: 94
Joined: Sun Nov 21, 2021 2:45 am

Docker ssl/https

Post by chuck8530 »

I have ZM running in Docker on a Ubuntu box. The Docker load is the package load. I want to go https - not having a lot of luck. Pointers please
thanks
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: Docker ssl/https

Post by burger »

How much experience do you have with Docker? If you can setup normal ZM SSL, then it shouldn't be much
more difficult in docker. The SSL settings are briefly noted here:
https://wiki.zoneminder.com/API#SSL_Configuration
Although the instructions assume some basic familiarity with Apache and SSL. Also, this should be posted
in the docker forum.

Off the top of my head, typically you would edit one or more of the apache config files and then include it
in the docker image (ideally, with docker-compose and a section in the yml file for Voluimes).
https://docs.docker.com/storage/volumes/
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
apber
Posts: 16
Joined: Sun Jun 27, 2021 3:14 pm

Re: Docker ssl/https

Post by apber »

I've had ZM running over https on a dedicated vm for years. Doing it inside Docker would follow the workflow delineated by burger.
chuck8530
Posts: 94
Joined: Sun Nov 21, 2021 2:45 am

Re: Docker ssl/https

Post by chuck8530 »

Long term Le-Nooks, Docker, about 15 minutes.
Post Reply