Last active
November 21, 2017 05:29
-
-
Save ukayani/cf939e1198a0e95c823913ff7a7a4a00 to your computer and use it in GitHub Desktop.
ECS Task Definition for deploying an Akka cluster
This file contains 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
"TaskDefinition": { | |
"Type": "AWS::ECS::TaskDefinition", | |
"Properties": { | |
"ContainerDefinitions": [{ | |
"Name": "theatre-example", | |
"Image": "loyaltyone/theatre-example:latest", | |
"PortMappings": [{ | |
"ContainerPort": 8080, | |
"HostPort": 0 | |
}, { | |
"ContainerPort": 2552, | |
"HostPort": 0 | |
}], | |
"Environment": [{ | |
"Name": "ZOOKEEPER_NODES", | |
"Value": "nodea.zk.dev:2181,nodeb.zk.dev:2181,nodec.zk.dev:2181" | |
}, { | |
"Name": "APP_PORT", | |
"Value": "2552" | |
}], | |
"Essential": "true", | |
... | |
}], | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment