Sign inSign up

ffrancescangeli/motionlast

By ffrancescangeli

•Updated over 8 years ago

DON'T PULL !!!

Image
0

962

ffrancescangeli/motionlast repository overview

⁠Motioneye Docker

A surveillance solution based on Mr-Dave Motion⁠, ccrisan MotionEye⁠, jshridha MotionEye⁠ and Docker.

Partial extract from jshridha's readme:

It's easy and ready to use. Just plug in a webcam and run this docker, then videos and images will be saved once a motion is detected while a notification e-mail including the recorded video and a preview image will be sent. On top of that, the webcam can be accessed anytime via HTTP live streaming.

⁠Quick Start

Clone this project then cd into it:

git clone https://github.com/francescangelif/docker-motioneye
cd docker-motioneye
⁠Build or pull the image

Then build your own dockmotion Docker image:

docker build -t motioneye .

Note that a pre-built image is also available:

docker pull ffrancescangeli/docker-motioneye:latest

Run the container with configs , e.g.,

docker run -d --name=motioneye \
    --device=/dev/video0
    -p 8765:8765 \
    -e PUID="99" \
    -e PGID="100" \
    -v /mnt/user/appdata/motioneye/media:/home/nobody/media \
    -v /mnt/user/appdata/motioneye/config:/config \
    ffrancescangeli/docker-motioneye:latest

Note that:

  • The --device flag should be replaced by your webcam's device ID.

  • Set the PUID and PGID enviornmental variables to match those of the user and group to run the app (optional, default is PUID=99 and PGID=100)

  • Expose port 8765 to access the motioneye interface

  • Expose port 8081 to access the motion api - make sure you replace "webcontrol_localhost on" with "webcontrol_localhost off" in motion.conf

  • Mount a volume /config to persist the configuration

  • Mount a volume to /home/nobody/media to persist the media (webcam image stills)

Tag summary

Content type

Image

Digest

Size

367.7 MB

Last updated

over 8 years ago

docker pull ffrancescangeli/motionlast