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.
Nguồn gốc
- Digest nội dung
- sha256:0a8b2bbf3408e95e49a3261c170c679fb6bf7096ba3ba82405cc57a3b4dff911
- Đã xuất bản
- 2026-11-15T08:09:08Z
- 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:6cf5af846dcc026599fb8e89a56c21fc6f6c60234fe842ec5674e3840c8423dd
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/compose/dify-sandbox:1.0.0- Đích
- —
- Triển khai
- core/ai-agent/dify-sandbox: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 }} |
| protocol | http |
Workload
Workload · form: stateless · containers: main
Giá trị cục bộ
Chưa khai báo giá trị cục bộ nào.
Á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/ai-agent/dify-sandbox: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.