Last active
November 21, 2017 05:32
-
-
Save ukayani/61ba55be93a601898b69e211bf199f33 to your computer and use it in GitHub Desktop.
A service definition for ECS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Service": { | |
"Type": "AWS::ECS::Service", | |
"Properties": { | |
"ServiceName": "theatre-service", | |
"TaskDefinition": { | |
"Ref": "TaskDefinition" | |
}, | |
"DesiredCount": 3, | |
"LoadBalancers": [ | |
{ | |
"TargetGroupArn": { | |
"Ref": "TargetGroup" | |
}, | |
"ContainerPort": 8080, | |
"ContainerName": "theatre-example" | |
} | |
], | |
"Cluster": "akka-services", | |
... | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment