Disable dynamic routing to allow for proper healthchecks

This commit is contained in:
Layla 2020-05-02 01:02:28 -04:00
parent b93240f992
commit bec4209232
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31
2 changed files with 4 additions and 2 deletions

View File

@ -37,6 +37,8 @@ Resources:
NlbTargetGroup:
Type: AWS::ElasticLoadBalancingV2::TargetGroup
Properties:
HealthCheckProtocol: TCP
HealthCheckPort: 80
Port: 7777
Protocol: TCP_UDP
TargetGroupAttributes:

View File

@ -33,10 +33,10 @@ Resources:
Image: !Sub "josephbmanley/defend-together:${DockerTag}"
MemoryReservation: 250
PortMappings:
- HostPort: 0
- HostPort: 7777
ContainerPort: 7777
Protocol: udp
- HostPort: 0
- HostPort: 80
ContainerPort: 80
Protocol: tcp
LogConfiguration: