Sfoglia il codice sorgente

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

tags/0.8.0
zhuhao 1 anno fa
parent
commit
50d92f0fd4
Nessun account collegato all'indirizzo email del committer
2 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  1. 3
    1
      docker/docker-compose.middleware.yaml
  2. 3
    1
      docker/docker-compose.yaml

+ 3
- 1
docker/docker-compose.middleware.yaml Vedi File



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



+ 3
- 1
docker/docker-compose.yaml Vedi File



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



Loading…
Annulla
Salva