mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-03-28 17:43:05 +01:00
31 lines
869 B
YAML
31 lines
869 B
YAML
services:
|
|
remoteterm:
|
|
build: .
|
|
# Optional on Linux: run container as your host user to avoid root-owned files in ./data
|
|
# user: "${UID:-1000}:${GID:-1000}"
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
# Radio connection — set ONE of the following transport options:
|
|
|
|
# Serial (USB) — also uncomment the `devices` section below
|
|
# MESHCORE_SERIAL_PORT: /dev/ttyUSB0
|
|
# MESHCORE_SERIAL_BAUDRATE: 115200
|
|
|
|
# TCP
|
|
# MESHCORE_TCP_HOST: 192.168.1.100
|
|
# MESHCORE_TCP_PORT: 4000
|
|
|
|
# BLE
|
|
# MESHCORE_BLE_ADDRESS: AA:BB:CC:DD:EE:FF
|
|
# MESHCORE_BLE_PIN: ""
|
|
|
|
MESHCORE_LOG_LEVEL: INFO
|
|
MESHCORE_DATABASE_PATH: data/meshcore.db
|
|
# Uncomment to pass through a USB serial device:
|
|
# devices:
|
|
# - /dev/ttyUSB0:/dev/ttyUSB0
|
|
restart: unless-stopped
|