added healthcheck

This commit is contained in:
Max Buz
2025-01-30 10:42:35 +01:00
committed by GitHub
parent 638b9d3cdd
commit 05876ed861

View File

@@ -10,4 +10,8 @@ services:
- 443:443 - 443:443
volumes: volumes:
- ${NGINX_DATA}:/data - ${NGINX_DATA}:/data
- ${NGINX_LETSENCRYPT}:/etc/letsencrypt - ${NGINX_LETSENCRYPT}:/etc/letsencrypt
healthcheck:
test: ["CMD", "/usr/bin/check-health"]
interval: 10s
timeout: 3s