mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-30 20:09:18 -04:00
* Add native Portduino mDNS discovery via Avahi and Bonjour * Guard native discovery in Portduino WASM builds * Add linux dependencies in packaging, support "buildroot" Adds libavahi dependencies for Debian, RPM, Docker and CI. Moves the libavahi definition to the shared `build_flags` (which is only consumed on Linux targets) * Fix platformio formatting * fix(portduino): disable Avahi when daemon unavailable --------- Co-authored-by: Jake-B <jake-b@users.noreply.github.com> Co-authored-by: vidplace7 <vidplace7@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
645 B
YAML
28 lines
645 B
YAML
# USB-Based Meshtastic container-node!
|
|
|
|
# Copy .env.example to .env and set the USB_DEVICE and CONFIG_PATH variables
|
|
|
|
services:
|
|
meshtastic-node:
|
|
build: .
|
|
container_name: meshtasticd
|
|
|
|
# Pass USB device through to the container
|
|
devices:
|
|
- "${USB_DEVICE}"
|
|
|
|
# Mount local config file and named volume for data persistence
|
|
volumes:
|
|
- "${CONFIG_PATH}:/etc/meshtasticd/config.yaml:ro"
|
|
- meshtastic_data:/var/lib/meshtasticd
|
|
# Let the host Avahi daemon advertise the mapped API port.
|
|
- /run/dbus:/run/dbus:ro
|
|
|
|
ports:
|
|
- 4403:4403
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
meshtastic_data:
|