Procházet zdrojové kódy

chore: upgrade sandbox (#4839)

Yeuoly před 10 měsíci
rodič
revize
f916aa0f92

+ 1 - 0
.github/workflows/api-tests.yml

@@ -6,6 +6,7 @@ on:
       - main
     paths:
       - api/**
+      - docker/**
 
 concurrency:
   group: api-tests-${{ github.head_ref || github.run_id }}

+ 2 - 1
docker/docker-compose.middleware.yaml

@@ -53,7 +53,7 @@ services:
 
   # The DifySandbox
   sandbox:
-    image: langgenius/dify-sandbox:0.2.0
+    image: langgenius/dify-sandbox:0.2.1
     restart: always
     environment:
       # The DifySandbox configurations
@@ -65,6 +65,7 @@ services:
       ENABLE_NETWORK: 'true'
       HTTP_PROXY: 'http://ssrf_proxy:3128'
       HTTPS_PROXY: 'http://ssrf_proxy:3128'
+      SANDBOX_PORT: 8194
     volumes:
       - ./volumes/sandbox/dependencies:/dependencies
     networks:

+ 2 - 1
docker/docker-compose.yaml

@@ -389,7 +389,7 @@ services:
 
   # The DifySandbox
   sandbox:
-    image: langgenius/dify-sandbox:0.2.0
+    image: langgenius/dify-sandbox:0.2.1
     restart: always
     environment:
       # The DifySandbox configurations
@@ -401,6 +401,7 @@ services:
       ENABLE_NETWORK: 'true'
       HTTP_PROXY: 'http://ssrf_proxy:3128'
       HTTPS_PROXY: 'http://ssrf_proxy:3128'
+      SANDBOX_PORT: 8194
     volumes:
       - ./volumes/sandbox/dependencies:/dependencies
     networks: