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.
Nguồn gốc
- Digest nội dung
- sha256:159fc080f3df2ea9766659ed8205fd748389d6a85fa6846adacc197dc208d236
- Đã xuất bản
- 2026-11-10T10:21:10Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/compose/trustyai-guardrails-gateway:1.0.0- Đích
- —
- Triển khai
- core/security/trustyai-guardrails-gateway:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| 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
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| config_name | {{ .context.instance_id }}-config |
| config_path | /etc/trustyai-guardrails-gateway/config.yaml |
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/security/trustyai-guardrails-gateway:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.