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:
- app
- web
healthcheck:
test: ['CMD', 'wget', '-qO-', 'http://localhost:5000/api/health']
interval: 10s
timeout: 3s
retries: 5
# healthcheck:
# test: ['CMD', 'wget', '-qO-', 'http://localhost:5000/api/health']
# interval: 10s
# timeout: 3s
# retries: 5
web:
image: ${DOCKERHUB_USERNAME}/zapishis-web:${WEB_IMAGE_TAG}
env_file:
- .env
restart: always
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:3000/api/health']
interval: 10s
timeout: 3s
retries: 5
# healthcheck:
# test: ['CMD', 'curl', '-f', 'http://localhost:3000/api/health']
# interval: 10s
# timeout: 3s
# retries: 5
depends_on:
- cache-proxy
networks: