diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 6a45b49588..82cfdcea06 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -6,6 +6,7 @@ on: - main paths: - api/** + - docker/** concurrency: group: api-tests-${{ github.head_ref || github.run_id }} diff --git a/docker/docker-compose.middleware.yaml b/docker/docker-compose.middleware.yaml index d786e7d4c1..38760901b1 100644 --- a/docker/docker-compose.middleware.yaml +++ b/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: diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index a04853d991..7a9913cd65 100644 --- a/docker/docker-compose.yaml +++ b/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: