Ver código fonte

fix: expose the configuration of HTTP request node to Docker (#8716)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
tags/0.9.0
zhuiyue132 1 ano atrás
pai
commit
b0927c39fb
Nenhuma conta vinculada ao e-mail do autor do commit
2 arquivos alterados com 6 adições e 0 exclusões
  1. 4
    0
      docker/.env.example
  2. 2
    0
      docker/docker-compose.yaml

+ 4
- 0
docker/.env.example Ver arquivo

@@ -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

+ 2
- 0
docker/docker-compose.yaml Ver arquivo

@@ -207,6 +207,8 @@ x-shared-env: &shared-api-worker-env
WORKFLOW_CALL_MAX_DEPTH: ${WORKFLOW_MAX_EXECUTION_TIME:-5}
SSRF_PROXY_HTTP_URL: ${SSRF_PROXY_HTTP_URL:-http://ssrf_proxy:3128}
SSRF_PROXY_HTTPS_URL: ${SSRF_PROXY_HTTPS_URL:-http://ssrf_proxy:3128}
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

Carregando…
Cancelar
Salvar