mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-03-28 17:43:05 +01:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
services:
|
|
remoteterm:
|
|
build: .
|
|
# image: jkingsman/remoteterm-meshcore:latest
|
|
|
|
# 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
|
|
################################################
|
|
# Set your serial device for passthrough here! #
|
|
################################################
|
|
devices:
|
|
- /dev/ttyACM0:/dev/ttyUSB0
|
|
|
|
environment:
|
|
MESHCORE_DATABASE_PATH: data/meshcore.db
|
|
# Radio connection -- optional if you map just a single serial device above, as the app will autodetect
|
|
# Serial (USB)
|
|
# MESHCORE_SERIAL_PORT: /dev/ttyUSB0
|
|
# MESHCORE_SERIAL_BAUDRATE: 115200
|
|
# TCP
|
|
# MESHCORE_TCP_HOST: 192.168.1.100
|
|
# MESHCORE_TCP_PORT: 4000
|
|
|
|
# Security
|
|
# MESHCORE_DISABLE_BOTS: "true"
|
|
# MESHCORE_BASIC_AUTH_USERNAME: changeme
|
|
# MESHCORE_BASIC_AUTH_PASSWORD: changeme
|
|
|
|
# Logging
|
|
# MESHCORE_LOG_LEVEL: INFO
|
|
restart: unless-stopped
|