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

This commit is contained in:
zhuhao 2024-09-09 14:39:06 +08:00 committed by GitHub
parent a15791e788
commit 50d92f0fd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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