This guide explains how to deploy Intel® SceneScape using prebuilt Docker images, primarily from Docker Hub.
- Ensure Docker is installed and running on your system.
make init-secrets install-modelsPrebuilt containers can be found here:
Update sample_data/docker-compose-dl-streamer-example.yml to use the above prebuilt images. Example:
scene:
image: docker.io/intel/scenescape-controller:latest
# ... other service configurations ...
web:
image: docker.io/intel/scenescape-manager:latest
# ... other service configurations ...
camcalibration:
image: docker.io/intel/scenescape-camcalibration:latest
# ... other service configurations ...- Skip preloading: Do not set the
EXAMPLEDBenvironment variable. - Preload database: Set the
EXAMPLEDBenvironment variable to the path of your database tar file and ensure the folder is mounted. Example:
web:
image: docker.io/intel/scenescape-manager:latest
environment:
- EXAMPLEDB=/home/scenescape/SceneScape/sample_data/exampledb.tar.bz2
- SUPASS=<password>
volumes:
- vol-sample-data:/home/scenescape/SceneScape/sample_dataStart the demo services:
SUPASS=<password> make demoVerify that all containers are running:
docker psAfter the services are up, scenes can be imported either via API (curl) or the Web UI.
- Obtain an authentication token:
curl --location --insecure -X POST -d "username=admin&password=<password>" https://<ip_address>/api/v1/authNote:
<password>is the same as used inSUPASS=<password> make demo.
- Upload the scene ZIP:
curl -k -X POST \
-H "Authorization: Token <token>" \
-F "zipFile=@<path_to_zip>" \
https://<ip_address>/api/v1/import-scene/- Log in with admin credentials.
- Navigate to Import Scene.
- Select and upload the scene ZIP.