Sign inSign up

fitiotlab/iot-lab-camera-proxy

By fitiotlab

Updated over 5 years ago

Docker image for the IoT-LAB Camera proxy service

Image
0

545

fitiotlab/iot-lab-camera-proxy repository overview

RPI3 camera proxy application

CI

This web application redirects the video stream of an IoT-LAB RPI3 gateway to the requested URL.

The URL should be in the form: /<site>/<experiment_id>/<node_id>/<token>, where:

  • <site> corresponds to an IoT-LAB site (saclay, paris, grenoble, lille, strasbourg)
  • <experiment_id> is the experiment number corresponding to the node id
  • <node_id> is the node id with the camera to connect to
  • <token> is the experiment token used to ensure the user has the right access

The IoT-LAB username, password and API url are passed to the application using respectively USERNAME, PASSWORD and API_URLenvironment variables.

The application must be started using gunicorn WSGI server from the application directory:

gunicorn -b 0.0.0.0:8000 main:app --reload --preload --worker-class gevent -w 4 --log-level debug

Tag summary

Content type

Image

Digest

Size

63.1 MB

Last updated

over 5 years ago

docker pull fitiotlab/iot-lab-camera-proxy