Overview

Full name
docker.io/golangboyme/wxocr
Registry
docker.io
Namespace
golangboyme
Repository
wxocr
Cached tags
1
Last synced
07/06/2026, 09:35 AM

Introduction

wxocr 微信聊天记录 OCR 解析服务镜像,提取图片消息中的文字,适合合规存档与客服质检辅助分析。

Details

golangboyme/wxocr 提供 HTTP API 解析微信导出或备份中的图片 OCR,典型用于企业微信存档二次分析。定位为 OCR API 服务,需注意数据隐私与合规;K8s 内网 Deployment,Secret 管理 API Key。

快速启动

docker run -d --name wxocr \
  -p 8080:8080 \
  docker.io/golangboyme/wxocr:latest

推荐实践

docker run -d --name wxocr \
  --restart unless-stopped \
  -p 8080:8080 \
  -e API_KEY=random-key \
  docker.io/golangboyme/wxocr:1.0.0

核心参数说明

  • -p 8080:8080 — OCR API 端口
  • -e API_KEY — 调用鉴权(高敏
  • --restart unless-stopped — 服务持续在线
  • 合规 — 仅处理授权数据
  • 固定 tag — OCR 引擎 pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: wxocr
spec:
  replicas: 2
  selector:
    matchLabels:
      app: wxocr
  template:
    metadata:
      labels:
        app: wxocr
    spec:
      containers:
        - name: wxocr
          image: docker.io/golangboyme/wxocr:1.0.0
          ports:
            - containerPort: 8080
          envFrom:
            - secretRef:
                name: wxocr-secrets
---
apiVersion: v1
kind: Service
metadata:
  name: wxocr
spec:
  selector:
    app: wxocr
  ports:
    - port: 8080
      targetPort: 8080

NetworkPolicy 限制内网;日志脱敏敏感聊天内容。

Latest tags (20)

View all 1 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/golangboyme/wxocr
:latest
linux/amd64
2025/03/25 11:14108.9 MBsha256:01a362c158dd