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