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.
Provenance
- Content digest
- sha256:159fc080f3df2ea9766659ed8205fd748389d6a85fa6846adacc197dc208d236
- Published
- 2026-11-10T10:21:10Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/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
Reference at this version
oci://hub.aggrega.ai/recipe/compose/trustyai-guardrails-gateway:1.0.0- Target
- —
- Implements
- core/security/trustyai-guardrails-gateway:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| 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
Locals
| Name | Template |
|---|---|
| config_name | {{ .context.instance_id }}-config |
| config_path | /etc/trustyai-guardrails-gateway/config.yaml |
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplementscontract compatible
core/security/trustyai-guardrails-gateway:1.0.0
All required outputs are satisfied and every provided output is named in the contract.
Used by
Nothing in the catalog depends on this entity.