Skip to content

Commit

Permalink
fix: expose the configuration of HTTP request node to Docker (langgen…
Browse files Browse the repository at this point in the history
…ius#8716)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
  • Loading branch information
2 people authored and lau-td committed Oct 23, 2024
1 parent 23f14fc commit 5371aa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,10 @@ WORKFLOW_MAX_EXECUTION_STEPS=500
WORKFLOW_MAX_EXECUTION_TIME=1200
WORKFLOW_CALL_MAX_DEPTH=5

# HTTP request node in workflow configuration
HTTP_REQUEST_NODE_MAX_BINARY_SIZE=10485760
HTTP_REQUEST_NODE_MAX_TEXT_SIZE=1048576

# SSRF Proxy server HTTP URL
SSRF_PROXY_HTTP_URL=http://ssrf_proxy:3128
# SSRF Proxy server HTTPS URL
Expand Down
2 changes: 2 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ x-shared-env: &shared-api-worker-env
SSRF_PROXY_HTTPS_URL: ${SSRF_PROXY_HTTPS_URL:-http://ssrf_proxy:3128}
INNER_API: ${INNER_API:-false}
INNER_API_KEY: ${INNER_API_KEY:-dify-sandbox}
HTTP_REQUEST_NODE_MAX_BINARY_SIZE: ${HTTP_REQUEST_NODE_MAX_BINARY_SIZE:-10485760}
HTTP_REQUEST_NODE_MAX_TEXT_SIZE: ${HTTP_REQUEST_NODE_MAX_TEXT_SIZE:-1048576}

services:
# API service
Expand Down

0 comments on commit 5371aa8

Please sign in to comment.