update motion-arm

This commit is contained in:
kev 2017-06-03 15:28:43 +08:00
parent ad3f8a5d24
commit 71d36d8ecf
3 changed files with 8 additions and 7 deletions

View File

@ -9,23 +9,24 @@ other words, it can detect motion.
## docker-compose.yml
```
```yaml
motion:
image: vimagick/motion-arm
image: easypi/motion-arm
ports:
- "8080:8080"
- "8081:8081"
volumes:
# - ./motion.conf:/etc/motion/motion.conf
- ./motion:/var/lib/motion
- ./motion.conf:/etc/motion/motion.conf
- ./data:/var/lib/motion
- /etc/localtime:/etc/localtime
devices:
- /dev/video0:/dev/video0
restart: always
```
You can edit `/etc/motion/motion.conf` to customize motion.
You can edit `motion.conf` to customize motion.
```
```ini
# set image width
width 640

View File

@ -4,7 +4,7 @@ motion:
- "8080:8080"
- "8081:8081"
volumes:
- ./data/motion.conf:/etc/motion/motion.conf
- ./motion.conf:/etc/motion/motion.conf
- ./data:/var/lib/motion
- /etc/localtime:/etc/localtime
devices: