External Screen working
This commit is contained in:
@@ -1,26 +1,32 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
otbr:
|
||||
image: openthread/otbr:latest
|
||||
image: openthread/border-router:latest
|
||||
container_name: otbr
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
network_mode: host
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
- OT_RCP_DEVICE=spinel+hdlc+uart:///dev/ttyUSB1?uart-baudrate=460800
|
||||
- OT_INFRA_IF=wlan0
|
||||
- OT_THREAD_IF=wpan0
|
||||
- OT_LOG_LEVEL=6
|
||||
- FIREWALL=0
|
||||
- NAT64=1
|
||||
devices:
|
||||
# Change /dev/ttyACM0 if your ESP32-H2 RCP enumerates as /dev/ttyUSB0
|
||||
- /dev/ttyACM0:/dev/ttyACM0
|
||||
command: --radio-url "spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=460800"
|
||||
- /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_ba78c1181566ee11b42a8d6293cd958c-if00-port0:/dev/ttyUSB1
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
volumes:
|
||||
- otbr-data:/data
|
||||
|
||||
mqtt-broker:
|
||||
image: eclipse-mosquitto:2.0
|
||||
container_name: mqtt-broker
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
environment:
|
||||
MQTT_TLS_ENABLED: ${MQTT_TLS_ENABLED:-true}
|
||||
ports:
|
||||
# Listens on all interfaces (IPv4 and IPv6) for Thread compatibility
|
||||
- "8884:8884"
|
||||
volumes:
|
||||
- ./mqtt/mosquitto-tls.conf:/mosquitto/config/mosquitto-tls.conf:ro
|
||||
- ./mqtt/mosquitto-plain.conf:/mosquitto/config/mosquitto-plain.conf:ro
|
||||
@@ -31,5 +37,6 @@ services:
|
||||
command: ["/bin/sh", "/scripts/start-broker.sh"]
|
||||
|
||||
volumes:
|
||||
otbr-data:
|
||||
mqtt-data:
|
||||
mqtt-log:
|
||||
Reference in New Issue
Block a user