Skip to content

Commit 6aaea2b

Browse files
committed
2023-06-14 MotionEye - old-menu branch - PR 2 of 2
Service definition: 1. Switches to DockerHub image that is actively being maintained (`ccrisan` hasn't been updated in two years; `dontobi` is current). 2. Adjusts timezone mechanism from `/etc/localtime` map to `TZ` support. 3. Changes streaming port for first camera to 8766, assuming that additional cameras will take 8767, 8768 and so on. There is more scope for expansion in this range than in 808x where there are numerous possibilities for collision. Documentation reduced to a stub pointing to master branch wiki. Signed-off-by: Phill Kelley <[email protected]>
1 parent fea7968 commit 6aaea2b

File tree

2 files changed

+7
-48
lines changed

2 files changed

+7
-48
lines changed

.templates/motioneye/service.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
motioneye:
2-
image: "ccrisan/motioneye:master-armhf"
2+
image: dontobi/motioneye.rpi:latest
33
container_name: "motioneye"
44
restart: unless-stopped
55
ports:
66
- "8765:8765"
7-
- "8081:8081"
7+
- "8766:8081"
8+
environment:
9+
- TZ=${TZ:-Etc/UTC}
810
volumes:
9-
- /etc/localtime:/etc/localtime:ro
1011
- ./volumes/motioneye/etc_motioneye:/etc/motioneye
1112
- ./volumes/motioneye/var_lib_motioneye:/var/lib/motioneye
12-
#devices:
13-
# - "/dev/video0:/dev/video0"
13+

docs/Containers/MotionEye.md

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,3 @@
1-
# MotionQye
2-
## References
1+
# MotionEye
32

4-
* [Website](https://github.com/ccrisan/motioneye/wiki/Install-In-Docker)
5-
6-
## About
7-
8-
MotionEye is a camera/webcam package. The port is set to 8765
9-
10-
## Config
11-
12-
This is the yml entry. Notice that the devices is commented out. This is because if you don't have a camera attached then it will fail to start. Uncomment if you need to. This is for a Pi camera, you will need to add additional lines for usb cameras
13-
14-
```yml
15-
motioneye:
16-
image: "ccrisan/motioneye:master-armhf"
17-
container_name: "motioneye"
18-
restart: unless-stopped
19-
ports:
20-
- 8765:8765
21-
- 8081:8081
22-
volumes:
23-
- /etc/localtime:/etc/localtime:ro
24-
- ./volumes/motioneye/etc_motioneye:/etc/motioneye
25-
- ./volumes/motioneye/var_lib_motioneye:/var/lib/motioneye
26-
#devices:
27-
# - "/dev/video0:/dev/video0"
28-
```
29-
30-
## Login Details
31-
32-
On first login you will be asked for login details. The default user is `admin` (all lowercase) with no password
33-
34-
## Storage
35-
36-
By default local camera data will be stored in `/var/lib/motioneye/camera_name` in the container which equates to the following:
37-
38-
![image](https://user-images.githubusercontent.com/46672225/69735730-df934480-1139-11ea-833b-705c40ee4f8e.png)
39-
40-
![image](https://user-images.githubusercontent.com/46672225/69735408-4fed9600-1139-11ea-8618-f5b6c0064f27.png)
41-
42-
### Remote motioneye
43-
44-
If you have connected to a remote motion eye note that the directory is on that device and has nothing to do with the container.
3+
Please refer to the [documentation on the master branch](https://sensorsiot.github.io/IOTstack/Containers/MotionEye/).

0 commit comments

Comments
 (0)