diff --git a/README.md b/README.md index a9fa5f3..f648f41 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ dockerfiles - [x] monit - [x] moodle :beetle: - [x] mosquitto +- [x] motion-arm :+1: - [x] nginad - [x] nginx - [x] ngrok :+1: diff --git a/motion-arm/README.md b/motion-arm/README.md index 3cf792d..3a094dd 100644 --- a/motion-arm/README.md +++ b/motion-arm/README.md @@ -7,4 +7,42 @@ motion-arm and is able to detect if a significant part of the picture has changed. Or in other words, it can detect motion. +## docker-compose.yml + +``` +motion: + image: vimagick/motion-arm + ports: + - "8080:8080" + - "8081:8081" + volumes: +# - ./motion.conf:/etc/motion/motion.conf + - ./motion:/var/lib/motion + devices: + - /dev/video0:/dev/video0 + restart: always +``` + +You can edit `/etc/motion/motion.conf` to customize motion. + +``` +# set image width +width 800 + +# set image height +height 600 + +# set frame rate +framerate 5 + +# disable image output +output_pictures off + +# disable video output +ffmpeg_output_movies off + +# encode timelapse movie +ffmpeg_timelapse 60 +``` + [1]: http://lavrsen.dk/foswiki/bin/view/Motion/WebHome