mirror of https://github.com/docker/compose.git
Set FailureThreshold
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
d957987471
commit
0f1a362664
|
@ -298,8 +298,11 @@ func (c client) createServiceRegistry(service types.ServiceConfig, template *clo
|
|||
template.Resources[serviceRegistration] = &cloudmap.Service{
|
||||
Description: fmt.Sprintf("%q service discovery entry in Cloud Map", service.Name),
|
||||
HealthCheckConfig: healthCheck,
|
||||
Name: service.Name,
|
||||
NamespaceId: cloudformation.Ref("CloudMap"),
|
||||
HealthCheckCustomConfig: &cloudmap.Service_HealthCheckCustomConfig{
|
||||
FailureThreshold: 1,
|
||||
},
|
||||
Name: service.Name,
|
||||
NamespaceId: cloudformation.Ref("CloudMap"),
|
||||
DnsConfig: &cloudmap.Service_DnsConfig{
|
||||
DnsRecords: []cloudmap.Service_DnsRecord{
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue