Recipe
dify-sandbox
The Dify code sandbox on Docker Compose via the compose provider's Workload synthesis: one service on the execution port, reached on the compose network under its service name and published on no host port. Each execution is independent, so it declares no volume. Its outbound client is pointed at the proxy wired on the ssrf_proxy connection, as with helm/dify-sandbox, and it shares the stack's one network rather than sitting on an isolated one as in Dify's own Compose file. The execution key is the value attached to code_execution_key, written into the emitted file as delivered, so an origin written as a Compose variable reference keeps the key out of the file; unattached, the pinned development literal is written. Declared Python requirements are one compose config mounted as the requirements file. It halts the build where the ssrf_proxy connection leaves SSRF_PROXY_HOST or SSRF_PROXY_PORT undelivered, and where the attached key's realization publishes the name of a secret resource or delivers no value.
Provenance
- Content digest
- sha256:0a8b2bbf3408e95e49a3261c170c679fb6bf7096ba3ba82405cc57a3b4dff911
- Published
- 2026-11-15T08:09:08Z
- 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:6cf5af846dcc026599fb8e89a56c21fc6f6c60234fe842ec5674e3840c8423dd
Reference at this version
oci://hub.aggrega.ai/recipe/compose/dify-sandbox:1.0.0- Target
- —
- Implements
- core/ai-agent/dify-sandbox:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| protocol | http |
Workload
Workload · form: stateless · containers: main
Locals
No locals declared.
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/ai-agent/dify-sandbox: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.