Use host networking for OTBR

This commit is contained in:
2026-02-23 22:37:43 -05:00
parent 80a1679745
commit 3e221ae262

View File

@@ -79,8 +79,7 @@
hostname: openthread1 hostname: openthread1
recreate: true recreate: true
restart_policy: "unless-stopped" restart_policy: "unless-stopped"
network: network: host
- iot
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
- NET_RAW - NET_RAW
@@ -92,7 +91,7 @@
- "/var/thread_router:/data" - "/var/thread_router:/data"
env: env:
OT_RCP_DEVICE: "spinel+hdlc+uart:///dev/ttyACM5?uart-baudrate=460800" OT_RCP_DEVICE: "spinel+hdlc+uart:///dev/ttyACM5?uart-baudrate=460800"
OT_INFRA_IF: "eth0" OT_INFRA_IF: "br5"
OT_THREAD_IF: "wpan0" OT_THREAD_IF: "wpan0"
OT_LOG_LEVEL: "7" OT_LOG_LEVEL: "7"
OT_REST_LISTEN_ADDR: "0.0.0.0" OT_REST_LISTEN_ADDR: "0.0.0.0"