Renamed to lorabot

This commit is contained in:
2026-05-04 20:52:51 +02:00
parent 61424163da
commit 68fbe22e33
18 changed files with 1138 additions and 176 deletions
+16 -13
View File
@@ -1,25 +1,28 @@
services:
meshbot:
image: ${MESHBOT_IMAGE:?set MESHBOT_IMAGE to your image reference}
container_name: meshbot
lorabot:
image: ${LORABOT_IMAGE:?set LORABOT_IMAGE to your image reference}
container_name: lorabot
restart: unless-stopped
# MeshCore companion is on a USB serial port. Map the host device through to
# the container. Override MESHBOT_DEVICE for ttyACM0 etc.
# the container. Override LORABOT_DEVICE for ttyACM0 etc.
devices:
- "${MESHBOT_DEVICE:-/dev/ttyUSB0}:${MESHBOT_DEVICE:-/dev/ttyUSB0}"
- "${LORABOT_DEVICE:-/dev/ttyUSB0}:${LORABOT_DEVICE:-/dev/ttyUSB0}"
# Some serial chipsets need access to the dialout group on the host.
group_add:
- dialout
environment:
MESHBOT_MESHCORE__SERIAL_PORT: ${MESHBOT_DEVICE:-/dev/ttyUSB0}
MESHBOT_LLM__BASE_URL: ${MESHBOT_LLM_BASE_URL:?set MESHBOT_LLM_BASE_URL}
MESHBOT_LLM__API_KEY: ${MESHBOT_LLM_API_KEY:-not-needed}
MESHBOT_LLM__MODEL: ${MESHBOT_LLM_MODEL:?set MESHBOT_LLM_MODEL}
LORABOT_MESHCORE__SERIAL_PORT: ${LORABOT_DEVICE:-/dev/ttyUSB0}
LORABOT_LLM__BASE_URL: ${LORABOT_LLM_BASE_URL:?set LORABOT_LLM_BASE_URL}
LORABOT_LLM__API_KEY: ${LORABOT_LLM_API_KEY:-not-needed}
LORABOT_LLM__MODEL: ${LORABOT_LLM_MODEL:?set LORABOT_LLM_MODEL}
ports:
# Built-in read-only web UI. Override via LORABOT_WEB_PORT.
- "${LORABOT_WEB_PORT:-8080}:8080"
volumes:
- meshbot-data:/data
# Mount your config.toml at /etc/meshbot/config.toml. Anything not set in the
- lorabot-data:/data
# Mount your config.toml at /etc/lorabot/config.toml. Anything not set in the
# TOML will fall back to defaults; env vars above always win.
- ./config.toml:/etc/meshbot/config.toml:ro
- ./config.toml:/etc/lorabot/config.toml:ro
volumes:
meshbot-data:
lorabot-data: