镜像概览

完整引用
docker.io/smanx/nanobot
Registry
docker.io
命名空间
smanx
仓库
nanobot
已缓存 Tag 数
16
最近同步
07/06/2026, 12:46 PM

简介

NanoBot 轻量聊天机器人服务镜像,对接即时通讯平台 webhook 与 LLM 回复,适合自建客服 Bot 与群聊助手私有化部署。

详细介绍

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 按消息队列深度扩缩(若支持)。

最新 Tag(20 条)

查看全部 16 个 Tag →
Tag架构推送时间大小Digest同步期望操作
docker.io/smanx/nanobot
:latest
linux/amd64linux/arm64
2026/07/06 03:22215.5 MBsha256:dad88bbaa748
docker.io/smanx/nanobot
:0.2.2
linux/amd64linux/arm64
2026/07/06 03:22215.5 MBsha256:dad88bbaa748
docker.io/smanx/nanobot
:0.2.1
linux/amd64linux/arm64
2026/06/23 04:52214.8 MBsha256:87c2f5aa88a8
docker.io/smanx/nanobot
:0.2.0
linux/arm64linux/amd64
2026/06/01 03:22208.2 MBsha256:d70719d8ed0b
docker.io/smanx/nanobot
:0.1.5.post3
linux/amd64linux/arm64
2026/05/16 03:52174.4 MBsha256:7571117174ef
docker.io/smanx/nanobot
:0.1.5.post2
linux/amd64linux/arm64
2026/04/29 03:54170.4 MBsha256:2de0e2807cea
docker.io/smanx/nanobot
:0.1.5.post1
linux/amd64linux/arm64
2026/04/21 03:20169.8 MBsha256:9be3cbe242d3
docker.io/smanx/nanobot
:0.1.5
linux/amd64linux/arm64
2026/04/14 03:26150.2 MBsha256:67d4100879c8
docker.io/smanx/nanobot
:0.1.4.post6
linux/amd64linux/arm64
2026/04/06 02:58144.8 MBsha256:7302904d0bc3
docker.io/smanx/nanobot
:0.1.4.post5
linux/amd64linux/arm64
2026/03/27 04:09197.6 MBsha256:afec6953b688
docker.io/smanx/nanobot
:0.1.4.post4
linux/amd64linux/arm64
2026/03/16 03:48189.0 MBsha256:a21c9234b894
docker.io/smanx/nanobot
:0.1.4.post3
linux/amd64linux/arm64
2026/03/08 03:09188.6 MBsha256:fdc9b4c49b3b
docker.io/smanx/nanobot
:0.1.4.post2
linux/amd64linux/arm64
2026/02/28 02:40189.4 MBsha256:757c0b38712c
docker.io/smanx/nanobot
:0.1.4
linux/amd64linux/arm64
2026/02/24 03:02187.0 MBsha256:7f9137a3b320
docker.io/smanx/nanobot
:0.1.3.post7
linux/amd64linux/arm64
2026/02/18 02:54173.4 MBsha256:dac04d4c0cc8
docker.io/smanx/nanobot
:0.1.3.post6
linux/amd64linux/arm64
2026/02/13 02:59169.5 MBsha256:d2af31311572