2026-03-27 16:10:45 +08:00
|
|
|
services:
|
|
|
|
|
nanobot-gateway:
|
|
|
|
|
container_name: nanobot-gateway
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
command: ["gateway"]
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
volumes:
|
|
|
|
|
- ./nanobot-config:/root/.nanobot
|
2026-03-27 17:17:29 +08:00
|
|
|
- ./MCP:/opt/mcp
|
2026-03-27 16:10:45 +08:00
|
|
|
ports:
|
|
|
|
|
- "18790:18790"
|
2026-03-27 17:17:29 +08:00
|
|
|
- "8005:8005"
|
2026-03-28 15:45:58 +08:00
|
|
|
- "8009:9000"
|
2026-03-27 16:10:45 +08:00
|
|
|
|
|
|
|
|
nanobot-cli:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
profiles:
|
|
|
|
|
- cli
|
|
|
|
|
command: ["status"]
|
|
|
|
|
stdin_open: true
|
|
|
|
|
tty: true
|
|
|
|
|
volumes:
|
|
|
|
|
- ./nanobot-config:/root/.nanobot
|
2026-03-27 17:17:29 +08:00
|
|
|
- ./MCP:/opt/mcp
|