Health check support? #397
Replies: 5 comments 5 replies
-
Hi in my observation, this should be done by the nginx itself (https://www.nginx.com/products/nginx/load-balancing/) available on NGINX+ (plus), commercial license |
Beta Was this translation helpful? Give feedback.
-
@hendywijaya the nginx container has no knowledge whether the docker-gen process is still running and listening to the Docker socket or not |
Beta Was this translation helpful? Give feedback.
-
Need wait for health check before publish new config - service is not started properly but start to receive requests! |
Beta Was this translation helpful? Give feedback.
-
Huge benefit already would be just by having This would allow us to use following syntax for target containers like: ...
healthcheck:
test: [ "CMD", "curl", "-H", "Host: example.com", "http://localhost:80/health-check/" ]
interval: 3s
timeout: 5s
retries: 10 |
Beta Was this translation helpful? Give feedback.
-
#442 seems related |
Beta Was this translation helpful? Give feedback.
-
Does docker-gen support anything to do with health checks?
health_status
events?Beta Was this translation helpful? Give feedback.
All reactions