Deploy Scenescape (Prebuilt Containers)#
This guide explains how to deploy Scenescape using prebuilt Docker images, primarily from Docker Hub.
1. Set Up Docker Environment#
Ensure Docker is installed and running on your system. For help, refer to Installing Docker on your system.
2. Generate secrets and download OpenVINO Model Zoo models#
make init-secrets install-models
3. Use Prebuilt Images for Scenescape Deployment#
Prebuilt containers are published on Docker Hub:
4. Configure preloaded scenes at deployment#
Skip preloading: Do not set the
EXAMPLEDBenvironment variable.Preload database: Set
EXAMPLEDBto the path of your database tar file and ensure the folder is mounted. Example override:web: environment: - EXAMPLEDB=/home/scenescape/Scenescape/sample_data/exampledb.tar.bz2 - SUPASS=<password> volumes: - vol-sample-data:/home/scenescape/Scenescape/sample_data
5. Start Services#
Start the demo without rebuilding local images (relies entirely on the prebuilt containers):
SUPASS=<password> DEMO_REBUILD_IMAGES=false make demo
DEMO_REBUILD_IMAGES=falseskips the re-building images locally from source.
Verify that all containers are running:
docker ps
6. Import Scenes#
After the services are up, scenes can be imported either via API (curl) or the Web UI.
6.1 Using curl#
Obtain an authentication token:
curl --location --insecure -X POST -d "username=admin&password=<password>" https://<ip_address>/api/v1/auth
Note:
<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/
6.2 Using the Web UI#
Log in with admin credentials.
Navigate to Import Scene.
Select and upload the scene ZIP.