技能标识:teamgram-tool-services
Documents the tool services in Teamgram Server including idgen (Snowflake ID), status (online TTL), dfs (Minio file storage), and media (metadata/thumbnails).
yaml
Name: service.idgen
ListenOn: 127.0.0.1:20660
Etcd:
Key: service.idgen
NodeId: 1
SeqIDGen:
- Host: 127.0.0.1:6379
yaml
Name: service.status
ListenOn: 127.0.0.1:20670
Etcd:
Key: service.status
Status:
- Host: 127.0.0.1:6379
StatusExpire: 90
| Bucket | 用途 |
|---|---|
| documents | 文档文件 |
| photos |
yaml
Name: service.media
ListenOn: 127.0.0.1:20650
Etcd:
Key: service.media
Mysql:
DSN: root:@tcp(127.0.0.1:3306)/teamgram?charset=utf8mb4&parseTime=true
Cache:
- Host: 127.0.0.1:6379
Dfs:
Etcd:
Key: service.dfs
text
Client
-> files.upload* / upload.getFile
-> bff.files
-> dfs 保存/获取 file parts
-> media 生成缩略图/元数据
-> db 写入 documents/photos/photo_sizes/...
<- 返回 inputFile / fileLocation / document/photo
DFS
- Minio buckets: documents/photos/videos/encryptedfiles
- MiniHttp 0.0.0.0:11701 提供 HTTP 下载入口
text
bff.files → dfs (gRPC) → Minio (S3)
→ media (gRPC) → MySQL + dfs
idgen → Redis (原子递增)
status → Redis (TTL)
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 teamgram-tool-services-1776079467 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 teamgram-tool-services-1776079467 技能
skillhub install teamgram-tool-services-1776079467
文件大小: 2.36 KB | 发布时间: 2026-4-15 14:37