docker-compose: comment healthcheck

This commit is contained in:
vchikalkin 2025-10-06 23:46:33 +03:00
parent cb4763e32b
commit c4b76a4755

View File

@ -9,21 +9,21 @@ services:
networks: networks:
- app - app
- web - web
healthcheck: # healthcheck:
test: ['CMD', 'wget', '-qO-', 'http://localhost:5000/api/health'] # test: ['CMD', 'wget', '-qO-', 'http://localhost:5000/api/health']
interval: 10s # interval: 10s
timeout: 3s # timeout: 3s
retries: 5 # retries: 5
web: web:
image: ${DOCKERHUB_USERNAME}/zapishis-web:${WEB_IMAGE_TAG} image: ${DOCKERHUB_USERNAME}/zapishis-web:${WEB_IMAGE_TAG}
env_file: env_file:
- .env - .env
restart: always restart: always
healthcheck: # healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:3000/api/health'] # test: ['CMD', 'curl', '-f', 'http://localhost:3000/api/health']
interval: 10s # interval: 10s
timeout: 3s # timeout: 3s
retries: 5 # retries: 5
depends_on: depends_on:
- cache-proxy - cache-proxy
networks: networks: