The camera feed streaming component.
615
A raspberry pi-powered home camera
client_secret.json file from Google Developer APIs for OATH 2.0 authentication.user.env with a space-delimited list of allowed e-mail addresses..env file with values for the environment variables in docker-compose.yml.bin/setup from a shell to install Debian packages and create a virtual environment for Python3.bin/dependencies from a shell to install python dependcies in your virtual environment.bin/dns with the desired USERNAME, PASSWORD, SUB_DOMAIN, and DOMAIN in Google Domains to schedule a CRON job that updates DNS with your dynamic IP address.bin/cert from a shell to schedule a CRON that renews the TLS certificates.bin/copy-cert to copy the certificates for your domain into the repo root.
bin/generate-cert to create a self-signed TLS certificate in the repo root.bin/run to execute the camera.
TAG=<TAG> bin/docker-compose up, where <TAG> is one of: x86, pi3, zero.To build the images run: TAG=build bin/docker-compose build x86 zero pi3 from the root of the repo.
Then, run TAG=build bin/docker-compose push x86 zero pi3 to publish the images to Docker Hub.
The bin/copy-cert script assumes that the Raspberry Pi's OS is Hypriot (it uses chown for the default hypriot user name).
When exposing your Pi to the Internet, make sure to change the password from the default for the pirate user.
Content type
Image
Digest
Size
6.1 MB
Last updated
over 7 years ago
docker pull misalcedo/picam-stream