Recipe
trustyai-guardrails-gateway
TrustyAI's guardrails gateway in a model's path, for local development via Docker Compose: one service running the image in infra.image, synthesized from the Workload kind by the compose provider. A compose config carries its configuration file, pointing the gateway at the orchestrator wired on the orchestrator socket and declaring one route, values.route, that applies the detector that orchestrator registered — by the detector_id it publishes — with values.threshold and answers a detection with values.fallback_message; it is mounted as one file, which the GATEWAY_CONFIG variable names. The product serves no health route, so the gateway's one healthcheck opens a connection to its port with the bash the image carries. The service publishes no port on the host: callers sit on the same compose network, and a gateway that authenticates no caller is kept off the host's interfaces. provides.host is the compose service name, and the published contract is key for key the one the Kubernetes realization publishes.
来源
- 内容摘要
- sha256:159fc080f3df2ea9766659ed8205fd748389d6a85fa6846adacc197dc208d236
- 发布时间
- 2026-11-10T10:21:10Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:509c36ea1b1e80d4e1111b57677eabf452e16c7c2ba08efe371d45cc08728467
此版本的引用
oci://hub.aggrega.ai/recipe/compose/trustyai-guardrails-gateway:1.0.0- 目标
- —
- 实现
- core/security/trustyai-guardrails-gateway:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.instance_id }}:{{ .infra.port }}/{{ .values.route }}/v1 |
| protocol | http |
Workload
Workload · form: stateless · containers: main
局部变量
| 名称 | 模板 |
|---|---|
| config_name | {{ .context.instance_id }}-config |
| config_path | /etc/trustyai-guardrails-gateway/config.yaml |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/security/trustyai-guardrails-gateway:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。