Fix
This commit is contained in:
parent
ce9afe339c
commit
ddf5275a37
@ -37,8 +37,10 @@ Resources:
|
|||||||
NlbTargetGroup:
|
NlbTargetGroup:
|
||||||
Type: AWS::ElasticLoadBalancingV2::TargetGroup
|
Type: AWS::ElasticLoadBalancingV2::TargetGroup
|
||||||
Properties:
|
Properties:
|
||||||
|
HealthCheckProtocol: TCP
|
||||||
|
HealthCheckPort: 80
|
||||||
Port: 7777
|
Port: 7777
|
||||||
Protocol: UDP
|
Protocol: TCP_UDP
|
||||||
TargetGroupAttributes:
|
TargetGroupAttributes:
|
||||||
- Key: deregistration_delay.timeout_seconds
|
- Key: deregistration_delay.timeout_seconds
|
||||||
Value: '20'
|
Value: '20'
|
||||||
@ -55,7 +57,7 @@ Resources:
|
|||||||
TargetGroupArn: !Ref NlbTargetGroup
|
TargetGroupArn: !Ref NlbTargetGroup
|
||||||
LoadBalancerArn: !Ref PublicNLB
|
LoadBalancerArn: !Ref PublicNLB
|
||||||
Port: 7777
|
Port: 7777
|
||||||
Protocol: UDP
|
Protocol: TCP_UDP
|
||||||
|
|
||||||
|
|
||||||
Outputs:
|
Outputs:
|
||||||
|
@ -33,10 +33,10 @@ Resources:
|
|||||||
Image: !Sub "josephbmanley/defend-together:${DockerTag}"
|
Image: !Sub "josephbmanley/defend-together:${DockerTag}"
|
||||||
MemoryReservation: 250
|
MemoryReservation: 250
|
||||||
PortMappings:
|
PortMappings:
|
||||||
- HostPort: 0
|
- HostPort: 7777
|
||||||
ContainerPort: 7777
|
ContainerPort: 7777
|
||||||
Protocol: udp
|
Protocol: udp
|
||||||
- HostPort: 0
|
- HostPort: 80
|
||||||
ContainerPort: 80
|
ContainerPort: 80
|
||||||
Protocol: tcp
|
Protocol: tcp
|
||||||
LogConfiguration:
|
LogConfiguration:
|
||||||
|
Reference in New Issue
Block a user