Skip to content

Commit 07f3869

Browse files
authored
Update README.md
1 parent 2d8be6a commit 07f3869

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,20 @@ docker run -it --rm -p 8000:8000 --privileged --device /dev/hailo0:/dev/ha
109109
Create a `docker-compose.yml` file:
110110

111111
```yaml
112-
version: '3.8'
113112
services:
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
126128
Then run:

0 commit comments

Comments
 (0)