概要

フル名
docker.io/openim/openim-rpc-auth
Registry
docker.io
名前空間
openim
リポジトリ
openim-rpc-auth
キャッシュ Tag 数
91
最終同期
07/06/2026, 11:27 AM

概要

OpenIM RPC Auth 微服务镜像,负责即时通讯平台的 token 签发与用户鉴权,需与 OpenIM 其他 RPC 与消息栈联部署。

詳細

openim/openim-rpc-auth 实现 OpenIM 架构中的认证 RPC 服务,处理 JWT 生成、权限校验与多端登录策略。典型作为私有化 IM 后端的一组件,与 openim-api、openim-msggateway 等同网段。定位为无状态 gRPC/HTTP 微服务,依赖 Redis/MySQL 等配置;K8s 可 Deployment 水平扩展,Secret 管理 JWT 密钥。

快速启动

docker run -d --name openim-rpc-auth \
  -p 10160:10160 \
  -e OPENIM_API_URL=http://openim-api:10002 \
  docker.io/openim/openim-rpc-auth:latest

推荐实践

docker run -d --name openim-rpc-auth \
  --restart unless-stopped \
  -p 10160:10160 \
  -e CONFIG_PATH=/config \
  -v /opt/openim/config:/config:ro \
  docker.io/openim/openim-rpc-auth:v3.8.0

核心参数说明

  • -p 10160:10160 — Auth RPC 服务端口
  • -v .../config:... — OpenIM 统一配置文件
  • -e CONFIG_PATH — 配置目录路径
  • --restart unless-stopped — 鉴权服务持续在线
  • 固定 tag — 与 OpenIM 全栈版本 pin
  • 依赖 — Redis、MySQL 与 etcd 由配置指定

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: openim-rpc-auth
spec:
  replicas: 2
  selector:
    matchLabels:
      app: openim-rpc-auth
  template:
    metadata:
      labels:
        app: openim-rpc-auth
    spec:
      containers:
        - name: auth
          image: docker.io/openim/openim-rpc-auth:v3.8.0
          ports:
            - containerPort: 10160
          volumeMounts:
            - name: config
              mountPath: /config
              readOnly: true
      volumes:
        - name: config
          configMap:
            name: openim-config
---
apiVersion: v1
kind: Service
metadata:
  name: openim-rpc-auth
spec:
  selector:
    app: openim-rpc-auth
  ports:
    - port: 10160
      targetPort: 10160

ConfigMap/Secret 统一管理 OpenIM 配置;与其他 RPC Service 同 namespace 组网。

Tagアーキテクチャプッシュ日時サイズDigest同期期望操作
docker.io/openim/openim-rpc-auth
:sha-7a46db527cc6
linux/amd64linux/arm64
2026/07/06 19:1323.2 MBsha256:ad91c021f4b5
docker.io/openim/openim-rpc-auth
:release-v3.8.3-patch.servertest-final.hephaestus.20260706184327.41927442
linux/amd64linux/arm64
2026/07/06 19:1323.2 MBsha256:ad91c021f4b5
docker.io/openim/openim-rpc-auth
:3.8.3-patch.servertest-final.hephaestus.20260706184327.41927442
linux/amd64linux/arm64
2026/07/06 19:1323.2 MBsha256:ad91c021f4b5
docker.io/openim/openim-rpc-auth
:v3.8.3-patch.servertest-final.hephaestus.20260706184327.41927442
linux/amd64linux/arm64
2026/07/06 19:1323.2 MBsha256:ad91c021f4b5
docker.io/openim/openim-rpc-auth
:sha-bc45a9c22202
linux/amd64linux/arm64
2026/07/06 17:1023.2 MBsha256:754fc44effc9
docker.io/openim/openim-rpc-auth
:release-v3.8.3-patch.servertest-matrix.hephaestus.20260706164014.186804400
linux/amd64linux/arm64
2026/07/06 17:1023.2 MBsha256:754fc44effc9
docker.io/openim/openim-rpc-auth
:3.8.3-patch.servertest-matrix.hephaestus.20260706164014.186804400
linux/amd64linux/arm64
2026/07/06 17:1023.2 MBsha256:754fc44effc9
docker.io/openim/openim-rpc-auth
:v3.8.3-patch.servertest-matrix.hephaestus.20260706164014.186804400
linux/amd64linux/arm64
2026/07/06 17:1023.2 MBsha256:754fc44effc9
docker.io/openim/openim-rpc-auth
:sha-68cb6f425c2b
linux/amd64linux/arm64
2026/07/06 14:2523.2 MBsha256:b016fecd2fbd
docker.io/openim/openim-rpc-auth
:release-v3.8.3-patch.servertest-targetbranch.hephaestus.20260706032134.25985
linux/amd64linux/arm64
2026/07/06 14:2523.2 MBsha256:b016fecd2fbd
docker.io/openim/openim-rpc-auth
:3.8.3-patch.servertest-targetbranch.hephaestus.20260706032134.25985
linux/amd64linux/arm64
2026/07/06 14:2523.2 MBsha256:b016fecd2fbd
docker.io/openim/openim-rpc-auth
:v3.8.3-patch.servertest-targetbranch.hephaestus.20260706032134.25985
linux/amd64linux/arm64
2026/07/06 14:2423.2 MBsha256:b016fecd2fbd
docker.io/openim/openim-rpc-auth
:sha-915fcaa52c98
linux/amd64linux/arm64
2026/07/03 20:5923.2 MBsha256:e2b1fff9361c
docker.io/openim/openim-rpc-auth
:release-v3.8.3-patch.servertest-ghcrtest.hephaestus.20260703100016.102498336
linux/amd64linux/arm64
2026/07/03 20:5923.2 MBsha256:e2b1fff9361c
docker.io/openim/openim-rpc-auth
:3.8.3-patch.servertest-ghcrtest.hephaestus.20260703100016.102498336
linux/amd64linux/arm64
2026/07/03 20:5923.2 MBsha256:e2b1fff9361c
docker.io/openim/openim-rpc-auth
:v3.8.3-patch.servertest-ghcrtest.hephaestus.20260703100016.102498336
linux/amd64linux/arm64
2026/07/03 20:5923.2 MBsha256:e2b1fff9361c
docker.io/openim/openim-rpc-auth
:sha-748d783d36fc
linux/amd64linux/arm64
2025/05/21 13:5941.5 MBsha256:d07b78f278db
docker.io/openim/openim-rpc-auth
:v3.8.3-patch
linux/amd64linux/arm64
2025/05/21 13:5941.5 MBsha256:d07b78f278db
docker.io/openim/openim-rpc-auth
:main
linux/amd64linux/arm64
2025/05/21 13:5841.5 MBsha256:d07b78f278db
docker.io/openim/openim-rpc-auth
:sha-7b02b4b
linux/amd64linux/arm64
2024/12/30 13:1340.4 MBsha256:23aa8ebf1fb0