gcgarner / IOTstack

docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.52k stars 582 forks source link

MotionEye #76

Closed Slyke closed 5 years ago

Slyke commented 5 years ago

I use MotionEye on my Raspberry Pi 3 as a front door security system, but it's not exactly IoT.

Would you mind if I submitted a PR to add it to the list of things you have here? Won't go to the trouble if it's not wanted :).

I currently have a working docker-compose file that "just runs out of the box":

version: '3'

services:
  motion_eye:
    image: "ccrisan/motioneye:master-armhf" #This needs to be changed to "ccrisan/motioneye:master-amd64" for non RPis
    container_name: "motion_eye"
    restart: unless-stopped
    ports:
      - 80:8765 #WUI, change these to work with your reverse proxy
      - 8081:8081 #Streaming (Video0)
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/motioneye:/etc/motioneye
      - /var/lib/motioneye:/var/lib/motioneye
    devices:
      - "/dev/video0:/dev/video0" #This is for the camera on the CSI interface. Not sure if USB cams will be added as video0 if CSI is not connected. It may just put the first camera if finds as video0
gcgarner commented 5 years ago

Great, I'll add it in the next push. I've got a few more containers to add so i might as well do it with that.

I would like to tweak the volumes follow with the "standard" i have going

Slyke commented 5 years ago

Yup, sure! Sounds good. Happy to help too if you need it.

gcgarner commented 5 years ago

added to wishlist