From beb3540737293eeb557a9fc8e1fc995d02c119ca Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Tue, 17 Jul 2018 05:28:30 -0400 Subject: [PATCH] Added health check --- templates/Nextcloud/0/rancher-compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/Nextcloud/0/rancher-compose.yml b/templates/Nextcloud/0/rancher-compose.yml index 46afb9c..dfbfc70 100644 --- a/templates/Nextcloud/0/rancher-compose.yml +++ b/templates/Nextcloud/0/rancher-compose.yml @@ -55,5 +55,14 @@ catalog: services: nextcloud: scale: 1 + health_check: + port: ${HOST_HTTP_PORT} + interval: 5000 + response_timeout: 2000 + initializing_timeout: 30000 + reinitializing_timeout: 30000 + healthy_threshold: 2 + unhealthy_theshold: 3 + strategy: none mysql: scale: 1 \ No newline at end of file