Be more sane with by-id aliases

This commit is contained in:
Jack Kingsman
2026-03-31 20:47:10 -07:00
parent 8446d99df1
commit b52431616e
3 changed files with 60 additions and 23 deletions
+7 -5
View File
@@ -12,12 +12,14 @@ services:
volumes:
- ./data:/app/data
################################################
# Map your radio by stable device ID if available. #
################################################
#####################################################################
# Map your radio by stable device ID if available. #
# If your by-id path contains ':' characters, Docker Compose cannot #
# represent it here directly; use a colon-free host alias instead. #
# (e.g. /dev/ttyUSB0) #
#####################################################################
devices:
- source: /dev/serial/by-id/your-meshcore-radio
target: /dev/meshcore-radio
- /dev/serial/by-id/your-meshcore-radio:/dev/meshcore-radio
environment:
MESHCORE_DATABASE_PATH: data/meshcore.db