Run in Air-Gapped System#
This guide explains how to run the PCB Anomaly Detection application in an environment without internet access.
Prerequisites#
Complete all steps in the Set up the application section of Get Started while connected to the internet. This ensures all required models and videos are pre-downloaded before running in an air-gapped system.
Ensure all required Docker images are pre-pulled while connected to the internet, as they cannot be downloaded in an air-gapped system.
Configure for Air-Gapped System#
Set
HOST_IPto127.0.0.1in the.envfile:HOST_IP=127.0.0.1
Enable the STUN server override in
docker-compose.yml. Uncomment theextra_hostsentry under thedlstreamer-pipeline-serverservice so that STUN lookups are redirected locally instead of reaching out to the internet:dlstreamer-pipeline-server: extra_hosts: - "stun.l.google.com:127.0.0.1"
Start the Application#
Start the Docker application:
docker compose up -d
Start the pipeline:
./sample_start.sh -p pcb_anomaly_detection
Open a browser and navigate to:
https://127.0.0.1/mediamtx/anomaly/
Note: If you experience issues while streaming video on Firefox, it is recommended to use Google Chrome.
Stop the Application#
docker compose down -v