Overview
- Full name
docker.io/smanx/nanobot- Registry
- docker.io
- Namespace
- smanx
- Repository
- nanobot
- Cached tags
- 16
- Last synced
- 07/06/2026, 12:46 PM
Introduction
NanoBot 轻量聊天机器人服务镜像,对接即时通讯平台 webhook 与 LLM 回复,适合自建客服 Bot 与群聊助手私有化部署。
Details
smanx/nanobot 运行轻量 Bot 网关,接收 Telegram/Discord 等 webhook 事件并调用 LLM 生成回复。典型用于小团队 FAQ 自动应答或运维告警转发,与 LangBot 同类但更精简。生产应固定 tag、Bot Token 与 LLM Key 经 env/Secret 注入、启用 webhook 签名校验,限制公网入口 IP。
快速启动
docker run -d --name nanobot \
-p 8080:8080 \
-e BOT_TOKEN=your-bot-token \
docker.io/smanx/nanobot:latest
推荐实践
docker run -d --name nanobot \
--restart unless-stopped \
-p 8080:8080 \
-e BOT_TOKEN=your-bot-token \
-e OPENAI_API_KEY=sk-xxx \
-e WEBHOOK_SECRET=long-random-secret \
docker.io/smanx/nanobot:0.3.0
核心参数说明
-p 8080:8080— Webhook 回调监听端口-e BOT_TOKEN— IM 平台 Bot 令牌(高敏)-e OPENAI_API_KEY— LLM 回复上游密钥-e WEBHOOK_SECRET— 回调签名校验--restart unless-stopped— Bot 网关持续在线- 固定 tag — 适配器与 prompt 逻辑版本 pin
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: nanobot
spec:
replicas: 2
selector:
matchLabels:
app: nanobot
template:
metadata:
labels:
app: nanobot
spec:
containers:
- name: nanobot
image: docker.io/smanx/nanobot:0.3.0
ports:
- containerPort: 8080
envFrom:
- secretRef:
name: nanobot-secrets
---
apiVersion: v1
kind: Service
metadata:
name: nanobot
spec:
selector:
app: nanobot
ports:
- port: 8080
targetPort: 8080
Ingress 暴露 HTTPS webhook URL;Bot Token 与 LLM Key 经 Secret,HPA 按消息队列深度扩缩(若支持)。
Latest tags (20)
View all 16 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/smanx/nanobot :latest | linux/amd64linux/arm64 | 2026/07/06 03:22 | 215.5 MB | sha256:dad88bbaa748… | |||
docker.io/smanx/nanobot :0.2.2 | linux/amd64linux/arm64 | 2026/07/06 03:22 | 215.5 MB | sha256:dad88bbaa748… | |||
docker.io/smanx/nanobot :0.2.1 | linux/amd64linux/arm64 | 2026/06/23 04:52 | 214.8 MB | sha256:87c2f5aa88a8… | |||
docker.io/smanx/nanobot :0.2.0 | linux/arm64linux/amd64 | 2026/06/01 03:22 | 208.2 MB | sha256:d70719d8ed0b… | |||
docker.io/smanx/nanobot :0.1.5.post3 | linux/amd64linux/arm64 | 2026/05/16 03:52 | 174.4 MB | sha256:7571117174ef… | |||
docker.io/smanx/nanobot :0.1.5.post2 | linux/amd64linux/arm64 | 2026/04/29 03:54 | 170.4 MB | sha256:2de0e2807cea… | |||
docker.io/smanx/nanobot :0.1.5.post1 | linux/amd64linux/arm64 | 2026/04/21 03:20 | 169.8 MB | sha256:9be3cbe242d3… | |||
docker.io/smanx/nanobot :0.1.5 | linux/amd64linux/arm64 | 2026/04/14 03:26 | 150.2 MB | sha256:67d4100879c8… | |||
docker.io/smanx/nanobot :0.1.4.post6 | linux/amd64linux/arm64 | 2026/04/06 02:58 | 144.8 MB | sha256:7302904d0bc3… | |||
docker.io/smanx/nanobot :0.1.4.post5 | linux/amd64linux/arm64 | 2026/03/27 04:09 | 197.6 MB | sha256:afec6953b688… | |||
docker.io/smanx/nanobot :0.1.4.post4 | linux/amd64linux/arm64 | 2026/03/16 03:48 | 189.0 MB | sha256:a21c9234b894… | |||
docker.io/smanx/nanobot :0.1.4.post3 | linux/amd64linux/arm64 | 2026/03/08 03:09 | 188.6 MB | sha256:fdc9b4c49b3b… | |||
docker.io/smanx/nanobot :0.1.4.post2 | linux/amd64linux/arm64 | 2026/02/28 02:40 | 189.4 MB | sha256:757c0b38712c… | |||
docker.io/smanx/nanobot :0.1.4 | linux/amd64linux/arm64 | 2026/02/24 03:02 | 187.0 MB | sha256:7f9137a3b320… | |||
docker.io/smanx/nanobot :0.1.3.post7 | linux/amd64linux/arm64 | 2026/02/18 02:54 | 173.4 MB | sha256:dac04d4c0cc8… | |||
docker.io/smanx/nanobot :0.1.3.post6 | linux/amd64linux/arm64 | 2026/02/13 02:59 | 169.5 MB | sha256:d2af31311572… |