mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 04:59:23 +08:00
chore: bump Dify to 1.13.3 and sandbox to 0.2.13 (#34079)
Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "dify-api"
|
name = "dify-api"
|
||||||
version = "1.13.2"
|
version = "1.13.3"
|
||||||
requires-python = ">=3.11,<3.13"
|
requires-python = ">=3.11,<3.13"
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
@@ -163,11 +163,9 @@ class DifyTestContainers:
|
|||||||
wait_for_logs(self.redis, "Ready to accept connections", timeout=30)
|
wait_for_logs(self.redis, "Ready to accept connections", timeout=30)
|
||||||
logger.info("Redis container is ready and accepting connections")
|
logger.info("Redis container is ready and accepting connections")
|
||||||
|
|
||||||
# Start Dify Sandbox container for code execution environment
|
# Start Dify Sandbox container for code execution environment.
|
||||||
# Dify Sandbox provides a secure environment for executing user code
|
|
||||||
# Use pinned version 0.2.12 to match production docker-compose configuration
|
|
||||||
logger.info("Initializing Dify Sandbox container...")
|
logger.info("Initializing Dify Sandbox container...")
|
||||||
self.dify_sandbox = DockerContainer(image="langgenius/dify-sandbox:0.2.12").with_network(self.network)
|
self.dify_sandbox = DockerContainer(image="langgenius/dify-sandbox:0.2.14").with_network(self.network)
|
||||||
self.dify_sandbox.with_exposed_ports(8194)
|
self.dify_sandbox.with_exposed_ports(8194)
|
||||||
self.dify_sandbox.env = {
|
self.dify_sandbox.env = {
|
||||||
"API_KEY": "test_api_key",
|
"API_KEY": "test_api_key",
|
||||||
@@ -187,7 +185,7 @@ class DifyTestContainers:
|
|||||||
# Start Dify Plugin Daemon container for plugin management
|
# Start Dify Plugin Daemon container for plugin management
|
||||||
# Dify Plugin Daemon provides plugin lifecycle management and execution
|
# Dify Plugin Daemon provides plugin lifecycle management and execution
|
||||||
logger.info("Initializing Dify Plugin Daemon container...")
|
logger.info("Initializing Dify Plugin Daemon container...")
|
||||||
self.dify_plugin_daemon = DockerContainer(image="langgenius/dify-plugin-daemon:0.5.4-local").with_network(
|
self.dify_plugin_daemon = DockerContainer(image="langgenius/dify-plugin-daemon:0.5.3-local").with_network(
|
||||||
self.network
|
self.network
|
||||||
)
|
)
|
||||||
self.dify_plugin_daemon.with_exposed_ports(5002)
|
self.dify_plugin_daemon.with_exposed_ports(5002)
|
||||||
|
|||||||
2
api/uv.lock
generated
2
api/uv.lock
generated
@@ -1457,7 +1457,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dify-api"
|
name = "dify-api"
|
||||||
version = "1.13.2"
|
version = "1.13.3"
|
||||||
source = { virtual = "." }
|
source = { virtual = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "aliyun-log-python-sdk" },
|
{ name = "aliyun-log-python-sdk" },
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
|
|
||||||
# API service
|
# API service
|
||||||
api:
|
api:
|
||||||
image: langgenius/dify-api:1.13.2
|
image: langgenius/dify-api:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
@@ -63,7 +63,7 @@ services:
|
|||||||
# worker service
|
# worker service
|
||||||
# The Celery worker for processing all queues (dataset, workflow, mail, etc.)
|
# The Celery worker for processing all queues (dataset, workflow, mail, etc.)
|
||||||
worker:
|
worker:
|
||||||
image: langgenius/dify-api:1.13.2
|
image: langgenius/dify-api:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
@@ -102,7 +102,7 @@ services:
|
|||||||
# worker_beat service
|
# worker_beat service
|
||||||
# Celery beat for scheduling periodic tasks.
|
# Celery beat for scheduling periodic tasks.
|
||||||
worker_beat:
|
worker_beat:
|
||||||
image: langgenius/dify-api:1.13.2
|
image: langgenius/dify-api:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
@@ -132,7 +132,7 @@ services:
|
|||||||
|
|
||||||
# Frontend web application.
|
# Frontend web application.
|
||||||
web:
|
web:
|
||||||
image: langgenius/dify-web:1.13.2
|
image: langgenius/dify-web:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
|
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
|
||||||
@@ -245,7 +245,7 @@ services:
|
|||||||
|
|
||||||
# The DifySandbox
|
# The DifySandbox
|
||||||
sandbox:
|
sandbox:
|
||||||
image: langgenius/dify-sandbox:0.2.12
|
image: langgenius/dify-sandbox:0.2.14
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# The DifySandbox configurations
|
# The DifySandbox configurations
|
||||||
@@ -269,7 +269,7 @@ services:
|
|||||||
|
|
||||||
# plugin daemon
|
# plugin daemon
|
||||||
plugin_daemon:
|
plugin_daemon:
|
||||||
image: langgenius/dify-plugin-daemon:0.5.4-local
|
image: langgenius/dify-plugin-daemon:0.5.3-local
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ services:
|
|||||||
|
|
||||||
# The DifySandbox
|
# The DifySandbox
|
||||||
sandbox:
|
sandbox:
|
||||||
image: langgenius/dify-sandbox:0.2.12
|
image: langgenius/dify-sandbox:0.2.14
|
||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- ./middleware.env
|
- ./middleware.env
|
||||||
@@ -123,7 +123,7 @@ services:
|
|||||||
|
|
||||||
# plugin daemon
|
# plugin daemon
|
||||||
plugin_daemon:
|
plugin_daemon:
|
||||||
image: langgenius/dify-plugin-daemon:0.5.4-local
|
image: langgenius/dify-plugin-daemon:0.5.3-local
|
||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- ./middleware.env
|
- ./middleware.env
|
||||||
|
|||||||
@@ -731,7 +731,7 @@ services:
|
|||||||
|
|
||||||
# API service
|
# API service
|
||||||
api:
|
api:
|
||||||
image: langgenius/dify-api:1.13.2
|
image: langgenius/dify-api:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
@@ -773,7 +773,7 @@ services:
|
|||||||
# worker service
|
# worker service
|
||||||
# The Celery worker for processing all queues (dataset, workflow, mail, etc.)
|
# The Celery worker for processing all queues (dataset, workflow, mail, etc.)
|
||||||
worker:
|
worker:
|
||||||
image: langgenius/dify-api:1.13.2
|
image: langgenius/dify-api:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
@@ -812,7 +812,7 @@ services:
|
|||||||
# worker_beat service
|
# worker_beat service
|
||||||
# Celery beat for scheduling periodic tasks.
|
# Celery beat for scheduling periodic tasks.
|
||||||
worker_beat:
|
worker_beat:
|
||||||
image: langgenius/dify-api:1.13.2
|
image: langgenius/dify-api:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
@@ -842,7 +842,7 @@ services:
|
|||||||
|
|
||||||
# Frontend web application.
|
# Frontend web application.
|
||||||
web:
|
web:
|
||||||
image: langgenius/dify-web:1.13.2
|
image: langgenius/dify-web:1.13.3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
|
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
|
||||||
@@ -955,7 +955,7 @@ services:
|
|||||||
|
|
||||||
# The DifySandbox
|
# The DifySandbox
|
||||||
sandbox:
|
sandbox:
|
||||||
image: langgenius/dify-sandbox:0.2.12
|
image: langgenius/dify-sandbox:0.2.14
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# The DifySandbox configurations
|
# The DifySandbox configurations
|
||||||
@@ -979,7 +979,7 @@ services:
|
|||||||
|
|
||||||
# plugin daemon
|
# plugin daemon
|
||||||
plugin_daemon:
|
plugin_daemon:
|
||||||
image: langgenius/dify-plugin-daemon:0.5.4-local
|
image: langgenius/dify-plugin-daemon:0.5.3-local
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Use the shared environment variables.
|
# Use the shared environment variables.
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ app:
|
|||||||
max_workers: 4
|
max_workers: 4
|
||||||
max_requests: 50
|
max_requests: 50
|
||||||
worker_timeout: 5
|
worker_timeout: 5
|
||||||
python_path: /usr/local/bin/python3
|
python_path: /opt/python/bin/python3
|
||||||
|
nodejs_path: /usr/local/bin/node
|
||||||
enable_network: True # please make sure there is no network risk in your environment
|
enable_network: True # please make sure there is no network risk in your environment
|
||||||
allowed_syscalls: # please leave it empty if you have no idea how seccomp works
|
allowed_syscalls: # please leave it empty if you have no idea how seccomp works
|
||||||
proxy:
|
proxy:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ app:
|
|||||||
max_workers: 4
|
max_workers: 4
|
||||||
max_requests: 50
|
max_requests: 50
|
||||||
worker_timeout: 5
|
worker_timeout: 5
|
||||||
python_path: /usr/local/bin/python3
|
python_path: /opt/python/bin/python3
|
||||||
python_lib_path:
|
python_lib_path:
|
||||||
- /usr/local/lib/python3.10
|
- /usr/local/lib/python3.10
|
||||||
- /usr/lib/python3.10
|
- /usr/lib/python3.10
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "dify-web",
|
"name": "dify-web",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.13.2",
|
"version": "1.13.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@10.32.1",
|
"packageManager": "pnpm@10.32.1",
|
||||||
"imports": {
|
"imports": {
|
||||||
|
|||||||
Reference in New Issue
Block a user