Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ECS Task Definition for deploying an Akka cluster
"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