added healthcheck
This commit is contained in:
@@ -11,3 +11,7 @@ services:
|
|||||||
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
|
||||||
Reference in New Issue
Block a user