dify修改工作流
This commit is contained in:
@@ -133,8 +133,6 @@ ACCESS_TOKEN_EXPIRE_MINUTES=60
|
|||||||
# Refresh token expiration time in days
|
# Refresh token expiration time in days
|
||||||
REFRESH_TOKEN_EXPIRE_DAYS=30
|
REFRESH_TOKEN_EXPIRE_DAYS=30
|
||||||
|
|
||||||
# The default number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
|
|
||||||
APP_DEFAULT_ACTIVE_REQUESTS=0
|
|
||||||
# The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
|
# The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
|
||||||
APP_MAX_ACTIVE_REQUESTS=0
|
APP_MAX_ACTIVE_REQUESTS=0
|
||||||
APP_MAX_EXECUTION_TIME=1200
|
APP_MAX_EXECUTION_TIME=1200
|
||||||
@@ -1333,8 +1331,8 @@ PLUGIN_STDIO_MAX_BUFFER_SIZE=5242880
|
|||||||
|
|
||||||
PLUGIN_PYTHON_ENV_INIT_TIMEOUT=120
|
PLUGIN_PYTHON_ENV_INIT_TIMEOUT=120
|
||||||
PLUGIN_MAX_EXECUTION_TIMEOUT=600
|
PLUGIN_MAX_EXECUTION_TIMEOUT=600
|
||||||
# PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
|
||||||
PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
# PIP_MIRROR_URL=
|
||||||
|
|
||||||
# https://github.com/langgenius/dify-plugin-daemon/blob/main/.env.example
|
# https://github.com/langgenius/dify-plugin-daemon/blob/main/.env.example
|
||||||
# Plugin storage type, local aws_s3 tencent_cos azure_blob aliyun_oss volcengine_tos
|
# Plugin storage type, local aws_s3 tencent_cos azure_blob aliyun_oss volcengine_tos
|
||||||
|
|||||||
@@ -133,8 +133,6 @@ ACCESS_TOKEN_EXPIRE_MINUTES=60
|
|||||||
# Refresh token expiration time in days
|
# Refresh token expiration time in days
|
||||||
REFRESH_TOKEN_EXPIRE_DAYS=30
|
REFRESH_TOKEN_EXPIRE_DAYS=30
|
||||||
|
|
||||||
# The default number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
|
|
||||||
APP_DEFAULT_ACTIVE_REQUESTS=0
|
|
||||||
# The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
|
# The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
|
||||||
APP_MAX_ACTIVE_REQUESTS=0
|
APP_MAX_ACTIVE_REQUESTS=0
|
||||||
APP_MAX_EXECUTION_TIME=1200
|
APP_MAX_EXECUTION_TIME=1200
|
||||||
|
|||||||
@@ -676,7 +676,7 @@ services:
|
|||||||
|
|
||||||
milvus-standalone:
|
milvus-standalone:
|
||||||
container_name: milvus-standalone
|
container_name: milvus-standalone
|
||||||
image: milvusdb/milvus:v2.6.3
|
image: milvusdb/milvus:v2.5.15
|
||||||
profiles:
|
profiles:
|
||||||
- milvus
|
- milvus
|
||||||
command: ["milvus", "run", "standalone"]
|
command: ["milvus", "run", "standalone"]
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ x-shared-env: &shared-api-worker-env
|
|||||||
FILES_ACCESS_TIMEOUT: ${FILES_ACCESS_TIMEOUT:-300}
|
FILES_ACCESS_TIMEOUT: ${FILES_ACCESS_TIMEOUT:-300}
|
||||||
ACCESS_TOKEN_EXPIRE_MINUTES: ${ACCESS_TOKEN_EXPIRE_MINUTES:-60}
|
ACCESS_TOKEN_EXPIRE_MINUTES: ${ACCESS_TOKEN_EXPIRE_MINUTES:-60}
|
||||||
REFRESH_TOKEN_EXPIRE_DAYS: ${REFRESH_TOKEN_EXPIRE_DAYS:-30}
|
REFRESH_TOKEN_EXPIRE_DAYS: ${REFRESH_TOKEN_EXPIRE_DAYS:-30}
|
||||||
APP_DEFAULT_ACTIVE_REQUESTS: ${APP_DEFAULT_ACTIVE_REQUESTS:-0}
|
|
||||||
APP_MAX_ACTIVE_REQUESTS: ${APP_MAX_ACTIVE_REQUESTS:-0}
|
APP_MAX_ACTIVE_REQUESTS: ${APP_MAX_ACTIVE_REQUESTS:-0}
|
||||||
APP_MAX_EXECUTION_TIME: ${APP_MAX_EXECUTION_TIME:-1200}
|
APP_MAX_EXECUTION_TIME: ${APP_MAX_EXECUTION_TIME:-1200}
|
||||||
DIFY_BIND_ADDRESS: ${DIFY_BIND_ADDRESS:-0.0.0.0}
|
DIFY_BIND_ADDRESS: ${DIFY_BIND_ADDRESS:-0.0.0.0}
|
||||||
@@ -1037,6 +1036,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${EXPOSE_NGINX_PORT:-80}:${NGINX_PORT:-80}"
|
- "${EXPOSE_NGINX_PORT:-80}:${NGINX_PORT:-80}"
|
||||||
- "${EXPOSE_NGINX_SSL_PORT:-443}:${NGINX_SSL_PORT:-443}"
|
- "${EXPOSE_NGINX_SSL_PORT:-443}:${NGINX_SSL_PORT:-443}"
|
||||||
|
networks:
|
||||||
|
- ssrf_proxy_network
|
||||||
|
- default
|
||||||
|
|
||||||
# The Weaviate vector store.
|
# The Weaviate vector store.
|
||||||
weaviate:
|
weaviate:
|
||||||
@@ -1311,7 +1313,7 @@ services:
|
|||||||
|
|
||||||
milvus-standalone:
|
milvus-standalone:
|
||||||
container_name: milvus-standalone
|
container_name: milvus-standalone
|
||||||
image: milvusdb/milvus:v2.6.3
|
image: milvusdb/milvus:v2.5.15
|
||||||
profiles:
|
profiles:
|
||||||
- milvus
|
- milvus
|
||||||
command: ["milvus", "run", "standalone"]
|
command: ["milvus", "run", "standalone"]
|
||||||
@@ -1500,7 +1502,7 @@ networks:
|
|||||||
# create a network between sandbox, api and ssrf_proxy, and can not access outside.
|
# create a network between sandbox, api and ssrf_proxy, and can not access outside.
|
||||||
ssrf_proxy_network:
|
ssrf_proxy_network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
internal: true
|
internal: true # 修改为false以允许访问外部网络(如192.168.0.64)
|
||||||
milvus:
|
milvus:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
opensearch-net:
|
opensearch-net:
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
1.10.1
|
|
||||||
@@ -250,7 +250,7 @@ workflow:
|
|||||||
}'
|
}'
|
||||||
type: json
|
type: json
|
||||||
desc: ''
|
desc: ''
|
||||||
headers: 'Authorization:Bearer dataset-HeDK9gHBqPnI4rBZ2q2Hm7rV
|
headers: 'Authorization:Bearer dataset-DCyO89dHNWmsXMzJaWCCQOKo
|
||||||
|
|
||||||
Content-Type:application/json'
|
Content-Type:application/json'
|
||||||
isInIteration: true
|
isInIteration: true
|
||||||
@@ -270,7 +270,7 @@ workflow:
|
|||||||
max_write_timeout: 0
|
max_write_timeout: 0
|
||||||
title: HTTP 请求
|
title: HTTP 请求
|
||||||
type: http-request
|
type: http-request
|
||||||
url: http://192.168.0.64:7700/v1/datasets/{{#1747125586388.item#}}/retrieve
|
url: http://nginx:80/v1/datasets/{{#1747125586388.item#}}/retrieve
|
||||||
variables: []
|
variables: []
|
||||||
height: 157
|
height: 157
|
||||||
id: '1747125795256'
|
id: '1747125795256'
|
||||||
|
|||||||
Reference in New Issue
Block a user