1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
This commit is contained in:
kev 2016-01-03 15:07:50 +08:00
parent fe1218953a
commit 2a08716c4b
2 changed files with 39 additions and 0 deletions

@ -45,6 +45,7 @@ dockerfiles
- [x] monit
- [x] moodle :beetle:
- [x] mosquitto
- [x] motion-arm :+1:
- [x] nginad
- [x] nginx
- [x] ngrok :+1:

@ -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