Pārlūkot izejas kodu

add dify-sandbox health check in docker-compose.yaml (#8121) (#8124)

tags/0.8.0
zhuhao pirms 1 gada
vecāks
revīzija
50d92f0fd4
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
2 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. 3
    1
      docker/docker-compose.middleware.yaml
  2. 3
    1
      docker/docker-compose.yaml

+ 3
- 1
docker/docker-compose.middleware.yaml Parādīt failu

@@ -41,7 +41,7 @@ services:

# The DifySandbox
sandbox:
image: langgenius/dify-sandbox:0.2.6
image: langgenius/dify-sandbox:0.2.7
restart: always
environment:
# The DifySandbox configurations
@@ -56,6 +56,8 @@ services:
SANDBOX_PORT: ${SANDBOX_PORT:-8194}
volumes:
- ./volumes/sandbox/dependencies:/dependencies
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8194/health" ]
networks:
- ssrf_proxy_network


+ 3
- 1
docker/docker-compose.yaml Parādīt failu

@@ -287,7 +287,7 @@ services:

# The DifySandbox
sandbox:
image: langgenius/dify-sandbox:0.2.6
image: langgenius/dify-sandbox:0.2.7
restart: always
environment:
# The DifySandbox configurations
@@ -302,6 +302,8 @@ services:
SANDBOX_PORT: ${SANDBOX_PORT:-8194}
volumes:
- ./volumes/sandbox/dependencies:/dependencies
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8194/health" ]
networks:
- ssrf_proxy_network


Notiek ielāde…
Atcelt
Saglabāt