# docker-compose.yml services: edge-proxy-dev: build: context: . dockerfile: docker/Dockerfile container_name: edge-proxy-shared-dev image: edge-proxy-edge-proxy-dev:latest platform: linux/arm64 network_mode: "host" privileged: true devices: - /dev/ttyS7:/dev/ttyS7 - /dev/ttyS9:/dev/ttyS9 - /dev/snd:/dev/snd # --- VPU/NPU/RGA/GPU 硬件访问 --- - /dev/mpp_service:/dev/mpp_service - /dev/rga:/dev/rga - /dev/dri:/dev/dri - source: /sys/bus/iio/devices/iio:device0 target: /sys/bus/iio/devices/iio:device0 group_add: - "20" - "44" - "110" - "29" volumes: - .:/app - /tmp/.X11-unix:/tmp/.X11-unix:rw environment: - DISPLAY=$DISPLAY # ports: # - "8888:8888" # - "9999:9999" # - "502:502" # - "8080:8080" dns: - 8.8.8.8 - 114.114.114.114 command: sleep infinity media-gateway: image: bluenviron/mediamtx:latest container_name: media-gateway network_mode: "host" privileged: true volumes: - ./mediamtx.yml:/mediamtx.yml 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