mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update
This commit is contained in:
parent
fe1218953a
commit
2a08716c4b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user