meshai/docker-compose.yml
Matt fd3f995ebb Initial commit: MeshAI - LLM-powered Meshtastic assistant
Features:
- Multi-backend LLM support (OpenAI, Anthropic, Google)
- Rolling summary memory for token optimization (~70-80% reduction)
- Per-user conversation history with SQLite persistence
- Bang commands (!help, !ping, !reset, !status, !weather)
- Meshtastic integration via serial or TCP
- Message chunking for mesh network constraints (150 char limit)
- Rate limiting to prevent network congestion
- Rich TUI configurator
- Docker support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 11:53:46 -07:00

19 lines
656 B
YAML

services:
meshai:
build: .
container_name: meshai
restart: unless-stopped
volumes:
# Config and database persistence
- ./data:/data
# For serial connection - uncomment and adjust device path
# - /dev/ttyUSB0:/dev/ttyUSB0
# For serial connection - uncomment
# devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
# privileged: true # May be needed for serial access
environment:
# API key can be set here or in config.yaml
- LLM_API_KEY=${LLM_API_KEY:-}
# For TCP connection, ensure network access to Meshtastic node
# network_mode: host # Uncomment if needed for local network access