docker-compose: comment healthcheck
This commit is contained in:
parent
cb4763e32b
commit
c4b76a4755
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user