mirror of https://github.com/docker/compose.git
disable LoadBalancer healthCheck
compose-spec only support command-based health check. we need to investigate introducing URI-based health check support Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
d57a39958b
commit
6a226ace9d
|
@ -452,11 +452,12 @@ func createTargetGroup(project *types.Project, service types.ServiceConfig, port
|
|||
port.Published,
|
||||
)
|
||||
template.Resources[targetGroupName] = &elasticloadbalancingv2.TargetGroup{
|
||||
Port: int(port.Target),
|
||||
Protocol: protocol,
|
||||
Tags: projectTags(project),
|
||||
VpcId: cloudformation.Ref(parameterVPCId),
|
||||
TargetType: elbv2.TargetTypeEnumIp,
|
||||
HealthCheckEnabled: false,
|
||||
Port: int(port.Target),
|
||||
Protocol: protocol,
|
||||
Tags: projectTags(project),
|
||||
TargetType: elbv2.TargetTypeEnumIp,
|
||||
VpcId: cloudformation.Ref(parameterVPCId),
|
||||
}
|
||||
return targetGroupName
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue