-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (27 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
32 lines (27 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
meshbot:
# Use public image (recommended)
image: ghcr.io/ipnet-mesh/meshbot:main
# Or build locally (uncomment to build from source)
# build: .
container_name: meshbot
restart: unless-stopped
# Uncomment to mount serial devices
# devices:
# - "/dev/ttyUSB0:/dev/ttyUSB0"
# Optional: Override default command with arguments
# Examples:
# - Run with serial connection:
# command: ["run", "--meshcore-connection-type", "serial", "--meshcore-port", "/dev/ttyUSB0"]
# - Run with custom node name and serial connection:
# command: ["run", "--meshcore-node-name", "MyBot", "--meshcore-connection-type", "serial", "--meshcore-port", "/dev/ttyUSB0", "--meshcore-baudrate", "115200"]
# - Run with verbose logging:
# command: ["run", "-vv", "--meshcore-connection-type", "serial", "--meshcore-port", "/dev/ttyUSB0"]
# Optional: Set environment variables (alternative to command-line arguments)
# environment:
# - LLM_MODEL=openai:gpt-4o-mini
# - LLM_API_KEY=your_api_key_here
# - MESHCORE_NODE_NAME=MeshBot
# - MESHCORE_CONNECTION_TYPE=serial
# - MESHCORE_PORT=/dev/ttyUSB0
# - LOG_LEVEL=INFO