Sign inSign up

bakerba/rpi-cam

By bakerba

•Updated over 5 years ago

Docker build of silvanmelchior/RPi_Cam_Web_Interface

Image
0

257

bakerba/rpi-cam repository overview

Docker build of silvanmelchior/RPi_Cam_Web_Interface⁠

For help setting up your Raspberry Pi camera visit camera configuration⁠

To persist your camera configuration and motion capture schedule you need to touch uconfig schedule.json before adding them as volumes

To start a webserver:

docker run \
  --device=/dev/vchiq \
  --device=/dev/vcsm \
  --volume "$(pwd)/schedule.json:/var/www/schedule.json" \
  --volume "$(pwd)/uconfig:/var/www/uconfig" \
  --volume "$(pwd)/media:/var/www/media" \
  --publish 80:80 \
  --rm \
  bakerba/rpi-cam

Example docker-compose.yml:

version: '3.3'

services:
  rpi-cam:
    image: bakerba/rpi-cam
    container_name: rpi-cam
    ports:
      - "80:80"
    devices:
      - "/dev/vchiq"
      - "/dev/vcsm"
    volumes:
      - "./schedule.json:/var/www/schedule.json"
      - "./uconfig:/var/www/uconfig"
      - "./media:/var/www/media"
    restart: unless-stopped

Tag summary

Content type

Image

Digest

Size

333.7 MB

Last updated

over 5 years ago

docker pull bakerba/rpi-cam