bonus-edge-proxy/docker-compose.yml

48 lines
1.0 KiB
YAML
Raw Normal View History

# docker-compose.yml
2025-09-30 18:34:50 +08:00
services:
edge-proxy-dev:
2025-10-13 13:55:15 +08:00
build:
context: .
dockerfile: docker/Dockerfile
container_name: edge-proxy-shared-dev
image: edge-proxy-edge-proxy-dev:latest
2025-09-30 18:34:50 +08:00
platform: linux/arm64
2025-10-20 16:30:40 +08:00
network_mode: "host"
2025-10-20 10:39:14 +08:00
privileged: true
devices:
- /dev/ttyS7:/dev/ttyS7
- /dev/ttyS9:/dev/ttyS9
2025-10-17 17:20:45 +08:00
# --- VPU/NPU/RGA/GPU 硬件访问 ---
- /dev/mpp_service:/dev/mpp_service
- /dev/rga:/dev/rga
2025-10-20 09:15:55 +08:00
- /dev/dri:/dev/dri
2025-10-17 17:20:45 +08:00
group_add:
2025-10-14 16:21:56 +08:00
- "20"
2025-10-17 17:20:45 +08:00
- "44"
- "110"
2025-09-30 18:34:50 +08:00
volumes:
- .:/app
2025-10-14 16:21:56 +08:00
# ports:
# - "8888:8888"
# - "9999:9999"
# - "502:502"
# - "8080:8080"
2025-10-20 16:30:40 +08:00
dns:
- 8.8.8.8
- 114.114.114.114
command: sleep infinity
mqtt-broker:
image: eclipse-mosquitto:2.0
container_name: mqtt-broker
restart: unless-stopped
ports:
- "1883:1883"
volumes:
- ./mosquitto/config:/mosquitto/config
- ./mosquitto/data:/mosquitto/data
- ./mosquitto/log:/mosquitto/log