mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-07 17:23:05 +02:00
Be more sane with by-id aliases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user