{"id":18914494,"url":"https://github.com/angeloavv/rpi-zoneminder","last_synced_at":"2026-03-09T21:30:14.879Z","repository":{"id":91538126,"uuid":"279031993","full_name":"AngeloAvv/rpi-zoneminder","owner":"AngeloAvv","description":"A docker image to easily setup a zoneminder environment on your Raspberry Pi","archived":false,"fork":false,"pushed_at":"2020-07-12T12:51:50.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T15:54:00.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AngeloAvv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-12T09:27:58.000Z","updated_at":"2024-01-02T03:15:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"ccbf28e8-6be2-40bb-8105-7480baf342f5","html_url":"https://github.com/AngeloAvv/rpi-zoneminder","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Frpi-zoneminder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Frpi-zoneminder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Frpi-zoneminder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Frpi-zoneminder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AngeloAvv","download_url":"https://codeload.github.com/AngeloAvv/rpi-zoneminder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239907240,"owners_count":19716584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T10:11:43.761Z","updated_at":"2026-03-09T21:30:14.727Z","avatar_url":"https://github.com/AngeloAvv.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rpi-zoneminder\n\nDocker container for [zoneminder v1.34.16][3]\n\n\"ZoneMinder the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications, including commercial or home CCTV, theft prevention and child, family member or home monitoring and other domestic care scenarios such as nanny cam installations. It supports capture, analysis, recording, and monitoring of video data coming from one or more video or network cameras attached to a Linux system. ZoneMinder also support web and semi-automatic control of Pan/Tilt/Zoom cameras using a variety of protocols. It is suitable for use as a DIY home video security system and for commercial or professional video security and surveillance. It can also be integrated into a home automation system via X.10 or other protocols. If you're looking for a low cost CCTV system or a more flexible alternative to cheap DVR systems then why not give ZoneMinder a try?\"\n\nThis project is a Raspberry Pi porting of [docker-zoneminder][7] created by [QuantumObject][8]. The original Dockerfile and startup.sh files have been adapted to work with Raspberry Pi OS. Most instructions stay the same. So if you want, buy him a beer too.\n\n## Install dependencies\n\n- [Docker][2]\n\nTo install docker in Raspberry Pi OS use the commands:\n\n```bash\n$ curl -fsSL https://get.docker.com -o get-docker.sh\n$ sudo sh get-docker.sh\n\n$ sudo usermod -aG docker $USER\n\n```\n\n## Usage\n\nTo run with MySQL in a separate container use the command below:\n\n```bash\ndocker run -d -e TZ=Europe/Rome -e MYSQL_ROOT_PASSWORD=zmpass -e MYSQL_USER=zmuser -e MYSQL_PASSWORD=zmpass -e MYSQL_DATABASE=zm --net=host --name zoneminder_db jsurf/rpi-mariadb\ndocker run -d --shm-size=4096m -e TZ=Europe/Rome --net=host --name zoneminder angeloavv/rpi-zoneminder:latest\n```\n\nThe shm size should be 1:1 with your RAM size.\n\n## Set the timezone per environment variable\n\n    -e TZ=Europe/London\n\nDefault value is Europe/Rome .\n\n## Other environment variable that can be define at docker run command for zoneminder image\n\n     -e ZM_DB_HOST=127.0.0.1\n     \n     -e ZM_DB_NAME=zm \n     \n     -e ZM_DB_USER=zmuser\n     \n     -e ZM_DB_PASS=zmpass\n     \n     -e ZM_DB_PORT=3306\n     \n## Make sure that value for ZM_DB_  and MYSQL_ are the same : \n\n    ZM_DB_NAME ==\u003e MYSQL_DATABASE\n    ZM_DB_USER ==\u003e MYSQL_USER\n    ZM_DB_PASS ==\u003e MYSQL_PASSWORD\n    .......... ==\u003e ........... \n\n## Volume for zoneminder container \n- /var/cache/zoneminder\n- /etc/zm\n- /var/log/zm\n\n## Accessing the Zoneminder applications\n\nAfter that check with your browser at addresses plus the port assigned by docker:\n\n- \u003chttp://host_ip:port/zm/\u003e\n\nThen log in with login/password : admin/admin , Please change password right away and check on-line [documentation][6] to configure zoneminder.\n\nand if you change System=\u003e \"Authenticate user logins to ZoneMinder\" you at this moment need to change \"Method used to relay authentication information \" to \"None\" if this not done you will be unable to see live view. This only recommended if you are using https to protect password(This relate to a misconfiguration or problem with this container still trying to find a better solutions).\n\nif timeline fail please check TimeZone at php.ini is the correct one for your server( default is America/New York).\n\nTo access the container from the server that the container is running :\n\n$ docker exec -it container_id /bin/bash\n## More Info\n\nAbout zoneminder [www.zoneminder.com][1]\n\nTo help improve this container [angeloavv/rpi-zoneminder][5]\n\n## License\n\nrpi-zoneminder is available under the MIT license. See the LICENSE\nfile for more info.\n\n[1]:http://www.zoneminder.com/\n[2]:https://www.docker.com\n[3]:http://www.zoneminder.com/downloads\n[4]:http://docs.docker.com\n[5]:https://github.com/AngeloAvv/rpi-zoneminder\n[6]:http://www.zoneminder.com/wiki/index.php/Documentation\n[7]:https://github.com/QuantumObject/docker-zoneminder\n[8]:https://github.com/QuantumObject","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangeloavv%2Frpi-zoneminder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangeloavv%2Frpi-zoneminder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangeloavv%2Frpi-zoneminder/lists"}