File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -109,18 +109,20 @@ docker run -it --rm -p 8000:8000 --privileged --device /dev/hailo0:/dev/ha
109109Create a ` docker-compose.yml ` file:
110110
111111``` yaml
112- version : ' 3.8'
113112services :
114113 yolov11-hailo-tracker :
115114 image : ghcr.io/seeed-projects/yolov11-hailo-tracker-hailo:latest
115+ container_name : yolov11-hailo-tracker
116+ privileged : true
116117 ports :
117118 - " 8000:8000"
118119 devices :
119- - /dev:/dev # For Hailo device access
120- volumes :
121- - ./videos:/app/videos # Mount videos directory
120+ - " /dev/hailo0:/dev/hailo0"
121+ - " /dev/video0:/dev/video0"
122122 environment :
123- - HAILORT_LOGGER_PATH=NONE
123+ - PYTHONUNBUFFERED=1
124+ command : python3 run_api.py
125+ restart : unless-stopped
124126` ` `
125127
126128Then run:
You can’t perform that action at this time.
0 commit comments