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