-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 1.45 KB
/
docker-compose.yml
File metadata and controls
52 lines (48 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.8'
services:
# MQTT Broker
mosquitto:
image: eclipse-mosquitto:2.0
container_name: face_access_mqtt
ports:
- "1883:1883"
- "9001:9001"
volumes:
- ./services/mqtt/mosquitto.conf:/mosquitto/config/mosquitto.conf
- ./services/mqtt/data:/mosquitto/data
- ./services/mqtt/log:/mosquitto/log
restart: unless-stopped
networks:
- face_access_network
# Node-RED - 主控制服务器
node-red:
image: nodered/node-red:3.1
container_name: face_access_nodered
ports:
- "1880:1880"
volumes:
- ./services/node_red/data:/data
environment:
- TZ=Asia/Shanghai
restart: unless-stopped
networks:
- face_access_network
depends_on:
- mosquitto
# 注意:FaceEmbed API 服务已从Docker Compose中移除
#
# 经过实际验证,FaceEmbed API(基于Hailo-8)具有以下特点:
# 1. 需要直接访问Hailo硬件,不适合容器化部署
# 2. 运行在边缘端Raspberry Pi 5 + Hailo-8设备上
# 3. 通过原生Python进程启动,地址:http://192.168.10.179:8000
# 4. 已完成100%测试验证,28个测试全部通过
# 5. 推理性能:3-18ms,完全满足生产要求
#
# 部署方式:
# 在Hailo设备上手动启动:
# cd ~/face_embed_api && source .venv/bin/activate && python src/face_embed_api/app.py
#
# Node-RED通过HTTP API调用远程Hailo设备进行人脸嵌入计算
networks:
face_access_network:
driver: bridge