diff --git a/templates/zinst/0/rancher-compose.yml b/templates/zinst/0/rancher-compose.yml index c47a1bd..b11eae1 100644 --- a/templates/zinst/0/rancher-compose.yml +++ b/templates/zinst/0/rancher-compose.yml @@ -11,8 +11,32 @@ required: true default: "8080" type: "int" - -zinst-repository: - retain_ip: true - scale: 1 - start_on_create: true +services: + zinst-repository: + retain_ip: true + scale: 1 + start_on_create: true + health_check: + port: 80 + interval: 5000 + unhealthy_threshold: 3 + request_line: '' + healthy_threshold: 2 + response_timeout: 5000 + zinst-lb: + scale: 1 + start_on_create: true + lb_config: + certs: [] + port_rules: + - priority: 1 + protocol: http + service: zinst-repository + source_port: ${public_port} + target_port: 80 + health_check: + response_timeout: 2000 + healthy_threshold: 2 + port: 42 + unhealthy_threshold: 3 + interval: 2000